Compiler Design I

5 credits

Course, Bachelor's level, 1DL321

Autumn 2023 Autumn 2023, Uppsala, 33%, On-campus, English

Autumn 2023 Autumn 2023, Uppsala, 33%, On-campus, English For exchange students

Autumn 2024 Autumn 2024, Uppsala, 33%, On-campus, English

Autumn 2024 Autumn 2024, Uppsala, 33%, On-campus, English For exchange students

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". The 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.

FOLLOW UPPSALA UNIVERSITY ON

facebook
instagram
twitter
youtube
linkedin