norsk norsk&engelsk / norwegian&english

Course Description IMT3061 - Compilers (2003/2004)

LevelUndergraduate
ECTS Credits10
Duration1 semester (Autumn)
LanguageNorwegian
Prerequisite(s)

    Algorithmic Methods

    Aim

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

    Content

    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, Exercises
    AssessmentWritten Exam, 3 hours (counts 70%)
    Project Work (counts 20%)
    Assignment(s) (counts 10%, evaluated by lecturer)
    Each part must be passed. The two mandatory assignments count for 5 % each, and a pass/fail grade is given.
    Grading SystemAlphabetical Scale, A (best) - F (fail)
    Course RequirementsProject
    Supplementary Information