CS4200: Compiler Construction
- Master Computer Science
- Common Core Software Technology
- Specialization Programming Languages
- Credits: 2 x 5 ECTS
- Lectures: Thursday 10:45 - 12:45
- Lab Q1: Tuesday 10:45 - 12:45, 13:45 - 15:45
- Lab Q2: Friday 13:45 - 17:45
- Shared Study Lab on Wednesday
Compilers translate the source code of programs in a high-level programming language into executable (virtual) machine code. Nowadays, compilers are typically integrated into development environments providing features like syntax highlighting, content assistance, live error reporting, and continuous target code generation.
This course studies the architecture of compilers and interactive programming environments and the concepts and techniques underlying the components of that architecture. For each of the components of a compiler we study the formal theory underlying the language aspect that it covers, declarative specification languages to define compiler components, and the techniques for their implementation. The concepts and techniques are illustrated by application to small languages or language fragments.
The compiler construction program consists of two courses of 5 ECTS each.
CS4200-A: Front-End (Q1)
In the first course we study the front-end of the compiler that parses and type checks programs. We study meta-languages for the definition of the syntax and static semantics of programming languages. [Study guide]