Course detail
Selected Topics on Language Parsing and Translation
FIT-APDAcad. year: 2023/2024
This course discusses selected advanced topic on language parsing and compilation. It concentrates especially on the recent research results from the studied area. Nevertheless, it also presents topics usually not discussed because of their complexity even if the topics are not new. In details, it is presented theory of the parsing and compilation together with practical aspects of analyzer/compiler construction.
Doctoral state exam - topics:
- LL (k) languages and their syntax analysis.
- LR and LALR languages and their syntax analysis, parsing table creation.
- Semantic and context addicted lexical analysis.
- Attributed grammars and their use for formal language analysis.
- Scattered context grammars and their variants, mutual relation of these variants, properties.
- Relation of scattered context grammars and their variants to Chomsky formal language hierarchy.
- Regulated pushdown automata, deterministic variants, relation to TM.
- LL scattered context grammars as an input for formal language analysis, construction of regulated pushdown automata.
- Practical implementation of parser/analyzer based on scattered context grammars - variants, optimization, limitations.
- The role of priorities and attributes for parsing/analyzing formal languages exploiting scattered context grammars.
Language of instruction
Mode of study
Guarantor
Department
Entry knowledge
Rules for evaluation and completion of the course
Aims
Both theoretical and practical knowledge and experience from language analyzer/compiler construction based on new and advance technology.
Study aids
Prerequisites and corequisites
Basic literature
Recommended reading
Aho, A.V., Ullman, J.D.: The Theory of Parsing, Translation, and Compiling, Volume I: Parsing, Prentice-Hall, Inc., 1972, ISBN 0-13-914556-7.
Aho, A.V., Ullman, J.D.: The Theory of Parsing, Translation,and Compiling, Volume II: Compiling, Prentice-Hall, Inc., 1972,ISBN 0-13-914564-8.
Kolář Dušan, Meduna Alexander: Regulated Automata: From Theory towards Applications, In: Proceeding of 8th International Conference on Information Systems Implementation and Modelling ISIM'05, Ostrava, CZ, MARQ, 2005, s. 33-48, ISBN 80-86840-09-3.
Přednášky
Classification of course in study plans
- Programme DIT Doctoral 0 year of study, winter semester, compulsory-optional
- Programme DIT Doctoral 0 year of study, winter semester, compulsory-optional
- Programme DIT-EN Doctoral 0 year of study, winter semester, compulsory-optional
- Programme DIT-EN Doctoral 0 year of study, winter semester, compulsory-optional
- Programme CSE-PHD-4 Doctoral
branch DVI4 , 0 year of study, winter semester, elective
- Programme CSE-PHD-4 Doctoral
branch DVI4 , 0 year of study, winter semester, elective
- Programme CSE-PHD-4 Doctoral
branch DVI4 , 0 year of study, winter semester, elective
- Programme CSE-PHD-4 Doctoral
branch DVI4 , 0 year of study, winter semester, elective
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
- Introduction - review, LL(1) languages and their analysis.
- LL(k) languages.
- Analysis of LL(k) languages.
- SLR languages.
- LR and LALR languages - I.
- LR and LALR languages - II.
- Semantically driven lexical analysis.
- Attributes - role and processing.
- Scattered context grammars, LL modification.
- Regulated pushdown automata.
- Context languages analysis.
- LL scattered context grammars analysis using regulated pushdown automata.
- Selected topics on optimization.
Guided consultation in combined form of studies
Teacher / Lecturer
Project
Teacher / Lecturer
Syllabus
- An essay based on language analysis related to student's dissertation.
- A program based advanced compiler technology presented during lectures.