Compilers (2007/2008)

Course Not running, not visible

Course code
4S00041
Credits
5
Coordinator
Nicola Fausto Spoto
Teaching is organised as follows:
Unit Credits Academic sector Period Academic staff
Teoria 4 INF/01-INFORMATICS 2° Q Nicola Fausto Spoto
Laboratorio 1 INF/01-INFORMATICS 2° Q Nicola Fausto Spoto

Learning outcomes

Module: Teoria
-------
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.


Module: Laboratorio
-------
It will be developed a simple compiler. Then the final project will be started.

Syllabus

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


Module: Laboratorio
-------
Refer to the page about the Compilers course.

Assessment methods and criteria

Module: Teoria
-------
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.


Module: Laboratorio
-------
Refer to the page about the Compilers course.

Share