Compilers (2020/2021)

Course code
Name of lecturer
Mila Dalla Preda
Mila Dalla Preda
Number of ECTS credits allocated
Academic sector
Language of instruction
II semestre dal Mar 1, 2021 al Jun 11, 2021.

Lesson timetable

Go to lesson schedule

Learning outcomes

The course provides the students with the necessary skills for the design and implementation of simple compilers and interpreters.
At the end of the course the student will be able to apply the acquired notions on the theory of compiler constructions for a knowledgeable use of compiler tools such as parser generators and for the design of static analysers.



* Introduction to the course and to the compilers technology
* Lexical analysis
* Syntactical analysis
* Abstract syntax
* Semantical analysis (type-checking)
* Intermediate code
* Intermediate code generation
* Lab activities

Reference books
Author Title Publisher Year ISBN Note
Aho, A.V. and Lam, M.S. and Sethi, R. and Ullman, J.D. Compilatori: Principi, tecniche e strumenti (Edizione 2) Pearson 2009 978-88-7192-559-2

Assessment methods and criteria

Written exam + lab project (assigned at the end of the lab classes)
The lab project is mandatory and the project grade ranges from 0.25 to 4
The lab project is persinally discussed with the teacher
The project grade then added to the written exam grade (30 + 1 = 30 Lode)
In order to pass the written exam the exam grade has to be at least 16/30
The exam grade is valid until February 2022