Skip to main content
Breadcrumb

Compiler Construction

Course
Master’s level
7,5 credits (ECTS)
Study pace
50%
Time
Day
Location
Göteborg
Study form
Campus
Language
English
Duration
-
Application open
-
Application code
GU-28662
Tuition
Full education cost: 17 875 SEK
First payment: 17 875 SEK

No fees are charged for EU and EEA citizens, Swedish residence permit holders and exchange students.

More information about tuition fees

Application closed

About

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.

Prerequisites 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.

For admission to the summer 2021 and onward the following selection applies: selection is based upon the number of credits from previous university studies, maximum 285 credits.