|
Demonstration Program of Simulation of Precedence Parsing
Pichler, Libor ; Křivka, Zbyněk (referee) ; Lukáš, Roman (advisor)
Bachelor's thesis deals with development and creation application serving to teaching precedence parsing. The main brief of work has been created demonstrational program, which consist user interface and well-arranged and understandable form explains problems of the above theme. User interface used multiplatform library, whereby is guaranteed portability between different operating systems. Designs make provision for case using application pro teaching foreign students. In result application demonstrate all key's moment precedence parsing.
|
|
A General Generator of Syntax Directed Translation
Marcin, Juraj ; Kučera, Jiří (referee) ; Meduna, Alexandr (advisor)
This thesis is dedicated to the design and creation of generic generator that performs syntax directed translation according to user requirements. The translation is processing in the time of analysis of the source program. Parser is based on bottom-up parsing. The result of the translation is the creation of syntax tree. From this syntax tree are created instructions in the form of three - address code. These instructions represent final program and they are essential in rendering of syntax tree.
|
|
A General Generator of Syntax Directed Translation
Marcin, Juraj ; Kučera, Jiří (referee) ; Meduna, Alexandr (advisor)
This thesis is dedicated to the design and creation of generic generator that performs syntax directed translation according to user requirements. The translation is processing in the time of analysis of the source program. Parser is based on bottom-up parsing. The result of the translation is the creation of syntax tree. From this syntax tree are created instructions in the form of three - address code. These instructions represent final program and they are essential in rendering of syntax tree.
|
|
Demonstration Program of Simulation of Precedence Parsing
Pichler, Libor ; Křivka, Zbyněk (referee) ; Lukáš, Roman (advisor)
Bachelor's thesis deals with development and creation application serving to teaching precedence parsing. The main brief of work has been created demonstrational program, which consist user interface and well-arranged and understandable form explains problems of the above theme. User interface used multiplatform library, whereby is guaranteed portability between different operating systems. Designs make provision for case using application pro teaching foreign students. In result application demonstrate all key's moment precedence parsing.
|
|
Possibilities of generation and usage of AST in PHP programming language
Kočárek, Michal ; Kosek, Jiří (advisor) ; Tichý, Jan (referee)
The thesis provides theoretical base for development of the DoXRef. DoXRef is a tool for generating the "x-ref" documentation from PHP source codes. As part of the thesis the tool has been developed and shows the conclusions from this work in practice. There is described the reason of choosing this topic and the arguments for the development of the DoXRef in the introduction. Theoretical part describes structures for analysis and modification of the source code. Thesis extends the abstract syntax tree structure by removing some of its drawbacks. In the chapters about parsing, the Pratt's algorithm is noted, which itself is simple to understand but still very effective. This algorithm is used in the project's parser as well. The practical part describes structure and features of the DoXRef tool and includes screenshots from the generated documentation as well. The source code and usage examples are provided as a part of this thesis. The contribution from this thesis is primarily the DoXRef tool. The tool can be extended into usable form and its parts can be reused in other applications. The source code is published under open-source license.
|