norsk norsk&engelsk / norwegian&english

Course Description IMT3051 - Compilers (2003/2004)

ECTS Credits10
Duration1 semester (Autumn)
  • IMT2021 - Algorithmic Methods

The students should have a solid understanding (knowledge, abilities and attitudes) of the course contents, defined by the course topics.


Compiler phases and passes
Lexical analysis: regular expressions
Syntactic analysis: BNF and EBNF
Abstract syntax and syntax trees
LL(n) and LR(1) parsers
Code generation: simple translation to assembly
Principles for optimization and error reporting

Study MethodsLectures, Mandatory Assignments
AssessmentWritten Exam, 3 hours (counts 70%)
Project Work (counts 20%)
Assignment(s) (counts 10%, evaluated by lecturer)
Each of the two mandatory assignments counts 5 %, and a pass/fail grade will be given.
Grading SystemAlphabetical Scale, A (best) - F (fail)
Course RequirementsProject
Supplementary Information