Original title:
Detekce a zotavení se z chyb při syntaktické analýze
Translated title:
Detection and Error Recovery for Syntactic Analysis
Authors:
Sák, Vladimír ; Dolíhal, Luděk (referee) ; Zámečníková, Eva (advisor) Document type: Bachelor's theses
Year:
2010
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Práce se zaobírá detekcí a zotavením se z chyb při syntaktické analýze. Hlavním cílem práce bylo navrhnutí a implementace metody pro detekci chyb a pro zotavení se z těchto chyb. Vytvořená metoda vychází z Hartmannovy metody detekce a zotavení se z chyb. Bylo implementováno i užívatelské rozhraní s využitím multiplatformní knihovny Qt, umožňující jednoduché ovládání programu. Ve výsledku, aplikace vypisuje všechny informace o chybách během analýzy zdrojového kódu.
Bachelor's thesis deals with error detection and recovery for syntactic analysis. The main goal of work was to design and implement a method for error detection and recovery. The proposed method is based on the Hartmann method for error detection and error recovery. The user interface, using cross-platform framework Qt was also implemented. As a result, the application prints all of the information about errors while parsing the source code.
Keywords:
context set; error detection; error recovery; Hartmann method; LL parser; recursive descent parsing; syntactic analysis; analýza LL; analýza rekurzivním sestupem; detekce chyb; Hartmannova metoda; kontextová množina; syntaktická analýza; zotavení se z chyb
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/56115