Compiler Construction - University of Gothenburg Till startsida
To content Read more about how we use cookies on

Compiler Construction

Master's level | 7.5 credits | Course code: DIT300

The course is not given as a stand-alone course this academic year, but can be included in the program/course package. For information contact the department.

About the Course

The aim of the course is to develop an understanding of the whole process of compiler construction, starting from lexical analysis and finishing with machine code generation. In the course you will build a complete compiler for a simple imperative language. The course will give you knowledge and experience needed to: Define the lexical and syntactic structure of a programming language and implement them efficiently by using standard tools. Define a type system and implement type checking, which both reports errors to the programmer and prepares the program for code generation. Know the basic principles of run-time organization, parameter passing, and memory management, and implement them as a part of the compiler. Be familiar with both stack machines and register-based machines. Design and implement compilation schemes that generate intermediate or assembly code from a source program. Use data flow analysis to implement register allocation and code optimizations.

More Information

Show more

Course Syllabus


Tuition Fee

Please contact the department.
EU/EEA citizens, Swedish residence permit holders and exchange students do not pay fees. More information on:

Study Guidance



Department of Computer Science and Engineering
41296 Göteborg

Visiting address: Rännvägen 6 B

Page Manager: Jörgen Ölund
Last update: 2/18/2020 2:41 PM

Tell a friend about this page
Print version

Page Manager: Jörgen Ölund|Last update: 10/16/2018

The University of Gothenburg uses cookies to provide you with the best possible user experience. By continuing on this website, you approve of our use of cookies.  What are cookies?