Tentalabbet

TDDE66 · 6 credits · Advanced level (A1N) · Informationsteknologi, Datateknik, Datavetenskap

Compiler Construction

Active · next start HT 2026

Replaces TDDB44 Compiler Construction

100%

pass the ordinary exam

TEN1 · ordinary sittings since 2025 · 32 students

Almost everyone passes the exam at the first attempt.

Latest ordinary
100%12 Jan 2026 · 16 students
Get 4 or 5
88%
Harder than
0%of advanced level courses

TEN1 by course run

The ordinary exam and the re-exams after it, by academic year.

  • 5
  • 4
  • 3
  • Re-exams
100
50
0

Bar height is the share who passed. Point at a bar for exact counts per grade.

Part of 4 programmes

Modules and every sitting

The course has 2 modules. The figures at the top are for TEN1, the one most students take.

Exam · main exam

TEN1 Written examination

  • 5
  • 4
  • 3
  • U

100%pass the ordinary · 32 students

88%get 4 or 5

DateTypeGradesPassedStudents
Academic year 2025/26 · ordinary in Jan
OrdinaryOrdinary few students100%16
Academic year 2024/25 · ordinary in Jan
OrdinaryOrdinary few students100%16

Re-exams belong to the course run whose ordinary exam they follow.

Show small sittings (4)

Sittings with fewer than 5 students, often credit transfers or special sittings. They are not part of any figure on this page.

  • 1
  • 2
  • 1
  • 3

Hand-in or lab

LAB1 Laboratory Work

100%pass the ordinary · 32 students

100%pass a later sitting · 8 students

This module only reports passing results, so the pass rate does not show how many did not pass.

LAB1 by course run

The regular sitting and the later sittings after it, by academic year.

  • G
  • Later rounds
100
50
0

Bar height is the share who passed. Point at a bar for exact counts per grade.

DateTypeGradesPassedStudents
Academic year 2025/26 · ordinary in Feb
OrdinaryOrdinary few students100%11
Academic year 2024/25 · ordinary in Jan · 1 later sitting
OrdinaryOrdinary100%21
LaterLater few students100%8

Later sittings belong to the course run whose regular sitting they follow.

Show small sittings (1)

Sittings with fewer than 5 students, often credit transfers or special sittings. They are not part of any figure on this page.

  • 2

About the course

TDDE66 Compiler Construction is a course at Linköping University (6 credits, advanced level). Since 2025, 100% of 32 students have passed the ordinary exam. 100% of 16 students passed the latest ordinary exam (12 Jan 2026). Updated 5 Dec 2026

Aim

The aim of this course is to give a comprehensive introduction to the theoretical and practical issues underlying the design and implementation of compilers. After the completion of the course you should be able to:

  • explain and apply fundamental principles and techniques of compiler design
  • explain and use methods for lexical analysis, top-down and bottom-up parsing
  • explain and use methods for semantic analysis, syntax-directed translation, code optimization
  • explain methods and theory for construction of lexer and parser generators, code generator generators
  • explain methods for generation and optimization of code for RISC-based architectures
  • construct and implement a top-down parser and a bottom-up parser for a given context-free grammar
  • use lexer and parser generators to build a lexical analyzer and a parser for a real compiler
  • explain and use methods for machine code generation
  • design and implement a complete compiler including: lexer, parser, memory management, semantic analysis, optimization, and machine code generation

Content

  • Different types of translators such as compilers and preprocessors.
  • Methods for lexical analysis and syntax analysis.
  • Management of declarations.
  • Different types of internal representations.
  • Memory management and run-time organization.
  • Code generation and code optimization, especially with regards to RISC processors.
  • Methods for handling errors.
  • Compiler construction and compiler generation tools.
  • Language design.

A complete compiler for a Pascal-like language is constructed during the laboratory sessions. Certain modules of this compiler will be automatically generated using compiler generation tools, whereas other parts will be implemented by hand.

Examiner
Adrian Pop
Scheduled hours
48 h
Main field of study
Informationsteknologi, Datateknik, Datavetenskap
Syllabus on Studieinfo ↗