Next: , Previous: , Up: Compiler Stages   [Contents][Index]


4.4 TC-2, Building the Abstract Syntax Tree

2020-TC-2 submission for Ing1 students is Sunday, February 25th 2018 at 11:42.

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.