Compiler Construction Exercises¶
This collection of examples is intended to be used as revision before the examination of TDDB44/TDDD55 and covers the chapters in the course textbook which students should know. For each assignment there is a suggested answer or, in a few cases, a reference. Study these after you have tried to solve the problem yourself! Your views on the material are welcome - send email to the examiner or as a ticket in the GitLab repository.
- Exercises
- Chapter 1 - Introduction
- Chapter 2 - A Simple Syntax-Directed Translator
- Chapter 3 - Lexical Analysis
- Chapter 4 - Syntax Analysis
- Chapter 5 - Syntax-Directed Translation
- Chapter 6 - Intermediate-Code Generation
- Chapter 7 - Run-Time Environments
- Chapter 8 - Code Generation
- Chapter 9 - Machine-Independent Optimizations
- Chapter X - Bootstrapping
- Suggested Solutions
Indices and tables¶
Written by | Michael Petterson |
Peter Fritzson | |
Converted by | Martin Sjölund |
Conversion from to Sphinx to produce HTML output was performed in 2018.
Todo
Should be pointers from ● to ole, etc
(The original entry is located in /builds/tddb44/TDDB44-exercises/source/solutions.rst, line 2032.)
Todo
figure18
(The original entry is located in /builds/tddb44/TDDB44-exercises/source/solutions.rst, line 2208.)
Todo
figure19
(The original entry is located in /builds/tddb44/TDDB44-exercises/source/solutions.rst, line 2226.)
Todo
figure20
(The original entry is located in /builds/tddb44/TDDB44-exercises/source/solutions.rst, line 2234.)
This version of the documentation:
Commit: | 659000730a |
---|