tjhancocks / Bolt

The main repository for the Bolt Programming Language and Compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a foundation for Token Parsing

tjhancocks opened this issue · comments

The compiler needs to parse a stream of tokens and identify syntactic structures within it. At its most basic it needs to be able to do the following:

  • Identify and expand import directives
  • Identify function declarations
  • Identify function definitions
  • Identify code blocks
  • Identify type information
  • Identify symbol information
  • Construct an Abstract Syntax Tree
  • Construct a Symbol Table

The bare minimum should be built for this to allow for the target Hello World executable and basic standard library imports required in this version to be met.