This directory contains the following files:
module | functions |
---|---|
strtab.hpp/cpp | string table |
global.hpp/cpp | global declarations |
token.hpp | basic class for tokens |
error.hpp/cpp | class for errors |
lex.l | flex file for auto-generated lexer |
parser.y | yacc file for auto-generated parser |
baseast.hpp/cpp | base class for all other AST nodes |
ast.hpp/cpp | classes for AST |
symtab.hpp/cpp | class for symbol table |
flow.cpp/hpp | Control flow Analysis of SysY |
geneey.cpp/hpp | Generating eeyore AST |
eerep.cpp/hpp | Base Class constituting eeyore AST |
optimee.cpp/hpp | Eeyore-level Optimizations |