Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 340 Bytes

phases.md

File metadata and controls

5 lines (5 loc) · 340 Bytes
  1. MatrixScanner - tokenizes the input
  2. MatrixParser - builds the AST, establish types
  3. MatrixScoper - builds the symbol table and checks the scope symbols and break/continue statements. Infers the types of the AST nodes
  4. MatrixTypeChecker - type checks the AST
  5. (Optional) Tree Printer - prints the AST. May be run at any time.