Decaf Compiler
|
▼ include | |
ast.h | AST nodes and attributes |
common.h | Includes, constants, declarations, and macros used across the compiler |
p1-lexer.h | Interface for Project 1 (Lexer) |
p2-parser.h | Interface for Project 2 (Parser) |
p3-analysis.h | Interface for Project 3 (Analysis) |
symbol.h | Symbols, symbol tables, and static analysis errors |
token.h | Tokens and regular expressions |
visitor.h | AST visitors |
▼ src | |
main.c | Compiler driver |
p1-lexer.c | Compiler phase 1: lexer |
p2-parser.c | Compiler phase 2: parser |
p3-analysis.c | Compiler phase 3: static analysis |
▼ tests | |
public.c | Public test cases (and location for new tests) |
testsuite.h | Testing utility functions |