Compilers

Course Code :1001WETCOP
Study domain:Computer Science
Academic year:2017-2018
Semester:2nd semester
Sequentiality:Minimum 8/20 for Computersystems and -architecture, Languages and machines and Data abstraction and structures.
Contact hours:60
Credits:6
Study load (hours):168
Contract restrictions: No contract restriction
Language of instruction:Dutch
Exam period:exam in the 2nd semester
Lecturer(s)Dirk Janssens

3. Course contents *

This course discusses the structure of a typical compiler for an imperative language. First we focus on a precise specification of the task to be carried out by a compiler: for the various syntactical constructs of the source language a translation is given in terms of code for a (virtual) target machine, and we specify how these pieces of code are combined into a complete target program. Then the different phases of the translation process are discussed in more detail, including the formal techniques that support them: automata and context-free grammars, LL and LR parsing, attribute grammars.