Compiler Design I, 5 credits

Academic year 2022/2023

  • Autumn 2022, 33%, Campus

    Start date: 31 October 2022

    End date: 15 January 2023

    Application deadline: 19 April 2022

    Application code: UU-11019 Application

    Language of instruction: English

    Location: Uppsala

    Selection: Higher education credits in science and engineering (maximum 240 credits)

    Registration: 17 October 2022 – 7 November 2022

Entry requirements: 60 credits including 15 credits in mathematics, including Automata Theory, and 30 credits in computer science, including Operating Systems and a second course in computer programming or Process-Oriented Programming


If you are not a citizen of a European Union (EU) or European Economic Area (EEA) country, or Switzerland, you are required to pay application or tuition fees. Formal exchange students will be exempted from tuition fees, as well as the application fee. Read more about fees.

Application fee: SEK 900

Tuition fee, first semester: SEK 10,833

Tuition fee, total: SEK 10,833

About the course

A compiler translates a computer program from a high level language, such as C or Java, to machine code, the internal representation in the computer.

Compilation takes several steps. The first step is lexical analysis, to separate the program into "words". Syntactic analysis finds the structures. Code generation is often done in two steps, via an intermediate code to machine code. Often the code is improved through code optimisation.

The methods and tools from compiler design are useful for other forms of translation, for example from XML to a data structure.

More information


Department of Information Technology

hus 10, Lägerhyddsvägen 1

Box 337, 751 05 UPPSALA


Student counsellor