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


4.3 TC-1, Scanner and Parser

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

This section has been updated for EPITA-2020 on 2016-01-27.

Scanner and parser are properly running, but the abstract syntax tree is not built yet. Differences with PTHL (TC-0) include:

GNU Build System

Autoconf, Automake are used.

Options, Tasks

The compiler supports basic options via in the Task module. See Invoking tc in Tiger Compiler Reference Manual, for the list of options to support.

Locations

The locations are properly computed and reported in the error messages.

Relevant lecture notes include dev-tools.pdf and scanner.pdf.