P008 Compilers

Faculty of Informatics
Autumn 1997
Extent and Intensity
3/0. 3 credit(s). Recommended Type of Completion: zk (examination). Other types of completion: k (colloquium), z (credit).
Teacher(s)
prof. RNDr. Mojmír Křetínský, CSc. (lecturer)
Guaranteed by
Contact Person: prof. RNDr. Mojmír Křetínský, CSc.
Prerequisites
I002 Design of Algorithms I && I005 Formal Languages and Automata I && I006 Formal Languages and Automata II && P001 Operating Systems && P006 Structure of Programming Languages
Prerequisites: I002 Design of Algorithms I, I005 Formal Languages and Automata I, I006 Formal Languages and Automata II, p001 and P006 Principles of Programming Languages
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
Syllabus
  • Tasks of compiling, phases of a compiler, compiler structure.
  • The role of lexical analysis. Structure, modules and interfaces. Construction.
  • Parsing. The role of parser, interfaces and imlementation.
  • Attribute grammars (AG) and syntax directed translation. Description of language properties via AGs.
  • Semantic analysis, its tasks and implementation. Name and scope analysis, type checking.
  • Run-time enviroments, storage organization and allocation, stack and heap.
  • One-pass and multi-pass compiling. Intermediate code generation
  • Code generation. register allocation.
  • Error recovery.
  • Local optimization. Flow analyses, global optimization.
  • Compiler generators, techniques and tools.
Language of instruction
Czech
The course is also listed under the following terms Autumn 1995, Autumn 1996, Autumn 1998, Autumn 1999, Autumn 2000, Autumn 2001.
  • Enrolment Statistics (Autumn 1997, recent)
  • Permalink: https://is.muni.cz/course/fi/autumn1997/P008