TDDA28 Compilers and Interpreters, 3,8 ECTS-points
/Kompilatorer och interpretatorer/

Advancement level:
C

Aim:
The course aims to teach the principles of compiler construction and administration of run-time storage.

Prerequisites:
Participants are expected to have knowledge of: a procedural programming language such as Pascal, internal data structures such as arrays and lists, and theory and implementation of abstract data types.

Course organization:
The theory is presented during the lectures. The laboratory assignments consists of building compiler components such as syntactical and lexical analysers.

Course content:
Different types of translators such as compilers and preprocessors. Grammars and formal languages. Lexical and syntax analysis. Intermediate code generation. The course also gives a brief introduction to: Memory management and run-time organization. Code generation and code optimization. Compiler construction tools. Criteria for language design.

Course literature:
Aho, A.V., Sethi, R., Ullman, J.D., Compiler Principles, Techniques and Tools, Addison-Wesley, Publ Co 1986

TEN1Written examination, 1,5 p.
LAB1Labratory work, 1 p.
Course language is swedish.