course-details-portlet

TDT4205

Compiler Construction

Credits 7.5
Level Third-year courses, level III
Course start Spring 2026
Duration 1 semester
Language of instruction English
Location Trondheim
Examination arrangement School exam

About

About the course

Course content

Compilers are a prerequisite for constructing modern software. Compiler construction is a field of computer technology that early reached maturity, with a sound theoretical basis. Elements of this technology are employed in most areas where one does a thorough analysis of texts on a computer. The course discusses grammars, lexical and syntactic analysis, semantic analysis, optimizations, code generation, interpreters and abstract machines, linkers and run time systems. The concrete structure of a compiler that generates code for a real computer is studied in some detail.

Learning outcome

Knowledge: To give a thorough knowledge of techniques for the construction of compilers (programming language translators) and some insight in how to build systems software, more generally. Abilities: Develop a thorough understanding of how modern compilers work.

Learning methods and activities

Lectures and exercises.

Compulsory assignments

  • Mandatory coursework

Further on evaluation

To be admitted to the exam, the students must pass the mandatory coursework.

Re-sit examination: The examination form may change from written to oral. The re-sit examination for the school exam is held in August.

Exam and assignments will only be offered in English.

Course materials

Will be specified at the start of the course.

A primary textbook will be recommended. Additional textbooks will be suggested to cover the same topics under a different narrative. Additional mandatory study material will be provided by the lecturer and presented in the course.

Credit reductions

Course code Reduction From
SIF8045 7.5 sp
This course has academic overlap with the course in the table above. If you take overlapping courses, you will receive a credit reduction in the course where you have the lowest grade. If the grades are the same, the reduction will be applied to the course completed most recently.

Subject areas

  • Informatics
  • Technological subjects

Contact information

Course coordinator

Department with academic responsibility

Department of Computer Science

Examination

Examination

Examination arrangement: School exam
Grade: Letter grades

Ordinary examination - Spring 2026

School exam
Weighting 100/100 Examination aids Code C Duration 4 hours Exam system Inspera Assessment Place and room Not specified yet.

Re-sit examination - Summer 2026

School exam
Weighting 100/100 Examination aids Code C Duration 4 hours Exam system Inspera Assessment Place and room Not specified yet.