Compilers (course for international students)
Fall semester, 2016
Lecture: Wednesday, 8:30-10:00, 1-820
Lab: Thursday, 12:30-14:00, 2-315 (PC4)
Exams
Exam dates: (Please enroll in Neptun! Select only one of the two dates!)
2016.12.20 (Tue) 9:00-12:00, room 2-315:
Programming excercises
2017.01.10 (Tue) 9:00-12:00, room 2-315:
Programming excercises
2017.01.20 (Fri) 9:30-12:00, room 2-315:
Programming excercises
Sample questions
for the theory part
Sample programming task
Lecture topics
Introduction
Lexical analysis
Context-free grammars
LL parsing
LR parsing
Semantic analysis
Assembly
Code generation
Lab materials
definition of the
While language
Flex examples
Parser example
versions of the
While language compiler
Parser
Semantic analyser
Code generator
Tutorial on semantic analysis
Tutorial on code generation
Reading
Flex documentation
Bisonc++ documentation
Recommended textbook: Dick Grune, Henri E. Bal, Ceriel J.H. Jacobs, Koen G. Langendoen: Modern Compiler Design