Lab project exams from previous years

This page contains some old Compilers exams, consisting in the extension of a working basic compiler.

All exams assume you developed the compiler during the course and that your code passes all public test suites.

ASL Exams

WARNING: The ASL language specification and/or the common modules of the compiler used in previous years may slightly differ from the current year version. Thus, you may need some code adaptation.

WARNING: Final exams include code generation exercises, which are not requested in mid-term exams. However, the part of the finals dealing with type checking can be used to practice for the mid-terms.

Other older exams

WARNING: Exams below correspond to older courses that used a source language other than ASL and a different target language for the virtual machine. However, you can practice implementing the same ideas in your compiler.