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
Spring 2020
50% Day
Period: 23 March 2020 - 5 June 2020
2 Closed GU-28668
2) Only EU/EEA citizens and students with approved residence permit in Sweden can apply

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


Requirements and Selection

Requirements: Successfully completed two years of studies within the subject Computer Science or equivalent. Specifically, the course DIT230 Programming Languages technology or equivalent is required.  Applicants must prove their knowledge of English: English 6/English B from Swedish Upper Secondary School or the equivalent level of an internationally recognized test, for example TOEFL, IELTS.

Selection: Selection is based upon the number of credits from previous university studies.

Tuition Fee

Application fee: 900 SEK
Full course cost: 17 587 SEK
First payment: 17 587 SEK

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: Pontus Sundén
Last update: 2/18/2020 2:41 PM

Tell a friend about this page
Print version

Page Manager: Pontus Sundén|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?