Subject: Compilers
(12 -
SE0034) Basic Information
Course specification
Course is active from 21.11.2012.. Introduce students to the principles of compiler, translating concepts (from one programming language to another), the tools for their production and means of implementation. Mastering the compiler making at the beginner level. Upon successful completion of the course students are familiar with the principles of compiler; thez have knowledge of compiling phases, use techniques to translate from one language to another; they are capable of using tools for compiler-generated and real scanners, parsers and simple compilers. The task of the compiler: compile phase, types of programming languages ??and compilers: compilers LL and LR, top down and bottom up compilers, Formal languages: grammar, BNF, and automats, Lexical analysis: scanner generator, regular expressions, syntax analysis, theory parsing, parser generator , error handling, memory management and table of symbols: the organization of memory, the implementation of the symbol table, the range of visibility; Types: engine types and types of checks; Semantic analysis: a description and analysis of the semantics of programming code, types and representations međukoda: syntax tree, postfix notation, a three-address code; Generating code; optimization (among) the code: the basic types of analysis and optimization; interpreter and interpretation međukoda. Lectures, Computer exercises; Consultations. The exam is oral. Assessment mark is based on the success of computer exercises and oral exams.
|