TC-2, Building the Abstract Syntax TreeΒΆ

2021-TC-2 submission for Ing1 students is Sunday, February 17th 2019 at 11:42.

This section has been updated for EPITA- 2021 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 and ast.pdf.