Course project of Compiler Principles, a sysY compiler.
Unoptimized version here
report in here
- sysy.l & sysy.y: Front end
- *AST.cpp/hpp: AST definitions and operations
- eeyoreOPT.cpp: Optimization for Eeyore
- eeyoreREG.hpp: Register allocation
- sysyLUT.cpp/hpp: Symbol table
- sysyDATA.cpp/hpp: Handling with multi-dimensional arrays and initialization