At the beginning of development, the repository contains source code for the Simple language in which all references to Simple have been replaced with TIL.
The steps to develop a full TIL compiler imply the adaptation of:
- the scanner (
til_scanner.l
) - the parser (
til_parser.y
) - the symbol (
targets/symbol.h
) - the type checker (
targets/type_checker.cpp
) - the XML writer (for the middle delivery:
targets/xml_writer.cpp
) - the Postfix writer (for the final delivery:
targets/postfix_writer.cpp
)
Note that not all the code has to be working for all deliveries. Check the evaluation conditions on the course pages.