Teacher:
Lectures schedule:
Webex Room for Lecture Streaming
Office hours:
The course intends to provide to the students the theoretical background to understand how a language compiler can be built. The general architecture of a compiler is presented and which are the tools and mechanisms (theoretical and practical) need in order to derive a real compiler. Competences are put in place with the construction of a simple compiler for a simple language.
The course will delve into the following topics (for students convenience chapters in the textbook are indicated within parenthesis)
Lectures
Exercise Sessions with Solutions
Lexical Analysis:
Syntax Analysis:
Semantic Analysis:
Sample Past Written Tests with Solutions
Textbooks
Project to be sent the day before the written test:
Exam Dates A.Y. 2017/2018
Exam rules
The exam consists of a written test, containing open-answer and/or closed-answer questions, together with one project, realised with the ANTLR tool (see section “Projects” above). The project must be sent by the day before the written test to which the student is registered (see section “Instructions for Sending Projects” below). During the exercise sessions throughout the course samples of the written test questions will be presented with solutions. During the written test students can consult a hand-written A4 paper of their production for reference.
Registration for the written tests must be done using the Student Career System ESSE3 here. Please note that the registration deadline is usually 3 working days before the written test date. This course is not mandatory for the BSc and for any MSc curriculum, therefore BSc students or MSc students will not be able to register for the written test until they communicate to the Secretary Office (Tiziana Jajani c/o Student Secretary Office at Campus, Via D'Accorso SNC, Camerino Opening Hours) their choice to attend to this course, code [ST0989] FORMAL LANGUAGES AND COMPILERS.
Please note that any student who did not send the project the before the day of the written test will be excluded from the written test. In case of re-trying of the written test the project must be re-sent.
Instructions for Sending Projects
Students must create a folder in Google Drive, using the Google account associated to their email name.surname@studenti.unicam.it
The folder must contain all the files relative to the project and a written report, in English, which describes all the phases of the developing of the project. The use of screenshots is encouraged to show, within the report, the runs and the results of the project.
The folder must be named
FLC1718-Project-N-APP-X-Surname-Name
where N is the number of the realised project (according to the section “Projects” above) and X is the number of the exam session (Appello) as specified for each date of the written test above.
The folder must be shared (using Google Drive facilities) with luca.tesei@unicam.it and andrea.polini@unicam.it by 11.59pm of the day before the written test scheduled for the selected session X.
Exam Results