TU Delft | CS4200 | 2021-2022
- Master Computer Science
- Common Core Software Technology
- Specialization Programming Languages
- Credits: 2 x 5 ECTS
- Lectures Q1: Thursday 11:00 - 12:45
- Lab Q1: Tuesday 10:45 - 12:45, 13:45 - 15:45
- Lectures Q2: Thursday 15:45 - 17:45
- Lab Q2: Friday 13:45 - 17:45
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]