Next: TC-3, Previous: TC-1, Up: Compiler Stages [Contents][Index]
This section has been updated for EPITA-2020 on 2016-01-27.
At the end of this stage, the compiler can build abstract syntax trees of Tiger programs and pretty-print them. The parser is now a GLR parser and equipped with error recovery. The memory is properly deallocated on demand.
The code must follow our coding style and be documented, see Coding Style, and Doxygen.
Relevant lecture notes include dev-tools.pdf, ast.pdf.
• TC-2 Goals: | What this stage teaches | |
• TC-2 Samples: | See TC-2 work | |
• TC-2 Given Code: | Explanation on the provided code | |
• TC-2 Code to Write: | Explanation on what you have to write | |
• TC-2 FAQ: | Questions not to ask | |
• TC-2 Improvements: | Other Designs |