Hide menu

TDDD55 Compilers and Interpreters


Lesson material to be added during the course. The goal of the lessons is to give some introduction and hints for the laboratory assignments, do exercises on background theory, as well as prepare for the final exam.

Lessons 2017

Lesson 1: Introduction to formal languages and automata theory
Introduction: PDF
Exercises Part 1: PDF

Lesson 2: Formal languages and automata theory continued, and the Flex tool
Short overview of flex tool, etc.: PDF
Exercises Part 2: PDF. Solution proposal: PDF

Lesson 3: Bison parser generator tool and intermediate code generation

Lesson 4: Exam preparation
Example exam (August 2015) PDF, (solution proposal)

Page responsible: Martin Sjölund
Last updated: 2017-11-27