Original title:
Obecný generátor syntaxí řízeného překladu
Translated title:
A General Generator of Syntax Directed Translation
Authors:
Marcin, Juraj ; Kučera, Jiří (referee) ; Meduna, Alexandr (advisor) Document type: Bachelor's theses
Year:
2016
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Tato práce je věnovaná návrhu a vytvoření obecného generátoru, který provádí syntaxí řízený překlad dle požadavků uživatele. Překlad je vykonávaný syntaktickým analyzátorem a to už v době provádění analýz zdrojového programu. Syntaktický analyzátor je založen na syntaktické analýze zdola nahoru. Výsledkem překladu je vytvoření syntaktického stromu. Z něho se dále vytváří instrukce ve tvaru tří-adresního kódu, které reprezentují přeložený program a slouží k vykreslení syntaktického stromu.
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.
Keywords:
symbol table; syntax analysis; syntax tree; syntax-direct translation; three-address code; syntaktická analýza; syntaktický strom; syntaxi řízený překlad; tabulka symbolů; tři adresný kód
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/62238