Course detail

Selected Topics on Language Parsing and Translation

FIT-APDAcad. year: 2025/2026

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:

  1. LL (k) languages and their syntax analysis.
  2. LR and LALR languages and their syntax analysis, parsing table creation.
  3. Semantic and context addicted lexical analysis.
  4. Attributed grammars and their use for formal language analysis.
  5. Scattered context grammars and their variants, mutual relation of these variants, properties.
  6. Relation of scattered context grammars and their variants to Chomsky formal language hierarchy.
  7. Regulated pushdown automata, deterministic variants, relation to TM.
  8. LL scattered context grammars as an input for formal language analysis, construction of regulated pushdown automata.
  9. Practical implementation of parser/analyzer based on scattered context grammars - variants, optimization, limitations.
  10. The role of priorities and attributes for parsing/analyzing formal languages exploiting scattered context grammars.

Language of instruction

Czech

Mode of study

Not applicable.

Entry knowledge

formal languages and automata, principles of compiler construction, graph theory, complexity

Rules for evaluation and completion of the course

Several papers on a given topic, program construction-compiler/analyzer construction using specific techniques).

Aims

In-depth study of new and complex methods for language analysis and compilation tightly coupled with practical development of programs exploiting such methods.

Both theoretical and practical knowledge and experience from language analyzer/compiler construction based on new and advance technology.

Study aids

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Not applicable.

Recommended reading

Aho, A.V., Lam, M.S., Sethi, R., Ullman, J.D.: Compilers: Principles, Techniques, and Tools, Second Edition, Addison Wesley, Pearson, 2007, ISBN 0-321-48681-1.
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

Type of course unit

 

Lecture

39 hod., optionally

Teacher / Lecturer

Syllabus

  1. Introduction - review, LL(1) languages and their analysis.
  2. LL(k) languages.
  3. Analysis of LL(k) languages.
  4. SLR languages.
  5. LR and LALR languages - I.
  6. LR and LALR languages - II.
  7. Semantically driven lexical analysis.
  8. Attributes - role and processing.
  9. Scattered context grammars, LL modification.
  10. Regulated pushdown automata.
  11. Context languages analysis.
  12. LL scattered context grammars analysis using regulated pushdown automata.
  13. Selected topics on optimization.

Guided consultation in combined form of studies

26 hod., optionally

Teacher / Lecturer

Project

13 hod., compulsory

Teacher / Lecturer

Syllabus

  1. An essay based on language analysis related to student's dissertation.
  2. A program based advanced compiler technology presented during lectures.