Compilers (2006/2007)

Course Not running, not visible

Course code
Name of lecturer
Nicola Fausto Spoto
Number of ECTS credits allocated
Academic sector
Language of instruction
2nd quadrimester dal Jan 8, 2007 al Mar 9, 2007.
Web page

Lesson timetable

2nd quadrimester
Day Time Type Place Note
Tuesday 2:30 PM - 4:30 PM lesson Lecture Hall B  
Wednesday 8:30 AM - 9:30 AM lesson Lecture Hall B  
Friday 8:30 AM - 10:30 AM lesson Lecture Hall B  

Learning outcomes

The goal of this course is to present the basics of the compilers technology by describing the different phases of the compilaion of a simple object-oriented programming language. Theory is carried on in parallel with its practical application to the sample compiler.

The course is organised around 44 hours of teaching, two thirds in classroom and one third in a computer laboratory. Teaching material is provided by the teacher during the course.


* Introduction to the course and to the compilers technology
* Lexical analysis
* Syntactical analysis and language classes
* Abstract syntax
* Semantical analysis (type-checking)
* Intermediate bytecode
* Intermediate bytecode generation
* Code analysis and optimisation

Assessment methods and criteria

The final examination is made up of a written test and a programming project.

In the written test, the student solves three exercises, which aim at proving his understanding of the topics presented during the course. Such exercises may require to apply some theoretical results shown in the course. The written test can be evaluated to up to 24 points.

The programming project, which is not mandatory, consists in modifying or upgrading the compiler described during the course, with new syntactical constructs or new implementation techniques. It is done in small groups of one, two or three people. It requires knowledge of the Java programming language. It is handed to the teacher by email no later than July, independently from the written test. It is evaluated to up to 10 points if it is handed no later than April, to up to 9 points if it is handed in May, to up to 8 points if it is handed in June and up to 7 points if it is handed in July.