dc.contributor.advisor | Sawa, Zdeněk | |
dc.contributor.author | Merta, Daniel | |
dc.date.accessioned | 2022-09-01T07:21:51Z | |
dc.date.available | 2022-09-01T07:21:51Z | |
dc.date.issued | 2022 | |
dc.identifier.other | OSD002 | |
dc.identifier.uri | http://hdl.handle.net/10084/147500 | |
dc.description.abstract | V rámci této diplomové práce vznikl program, který umí analyzovat určité vlastnosti bezkontexto-
vých gramatik a také s nimi provádět různé operace. Příslušná problematika a související informace
jsou popsány v teoretické části práce. Další samostatné kapitoly se věnují konkrétnímu návrhu to-
hoto programu a jeho implementaci. V závěru je funkčnost programu demonstrována na příslušných
bezkontextových gramatikách. Možných funkcí, vlastností a operací nad gramatikami existuje ob-
rovské množství. Tento program umožňuje výpočet množin F IRST a F OLLOW , provádění redukce
gramatiky, odstranění epsilon-pravidel, odstranění jednoduchých pravidel, převod do Chomského a
Greibachové normálních forem a konstrukci ekvivalentního nedeterministického zásobníkového au-
tomatu. Dále umí program detekovat LR(0) a LL(1) typy gramatik, počítat LR položky, detekovat
související konflikty a validovat vstupní řetězce. Od počátku byl program navrhován tak, aby jej
bylo možné v budoucnu rozšířit o novou funkcionalitu. | cs |
dc.description.abstract | Within this diploma thesis, there was created a program that can analyze certain properties of
context-free grammars and also perform various operations on them. The relevant theory and in-
formation on this topic are described in the theoretical part of the thesis. Next chapters are devoted
to the particular design of this program and its implementation. Finally, the functionality of the
program is demonstrated on several examples of context-free grammars. There exist a huge number
of possible functions, properties and operations over grammars. This program can compute F IRST
and F OLLOW sets, perform grammar reduction, removal of epsilon rules, removal of simple rules,
conversion to Chomsky and Greibach normal forms and construct an equivalent non-deterministic
pushdown automaton. The program can also detect LR(0) and LL(1) types of grammars, compute
LR items, detect related conflicts and validate input strings. From the beginning, the program was
designed so that it could be extended with new functionality in the future. | en |
dc.format.extent | 1870665 bytes | |
dc.format.mimetype | application/pdf | |
dc.language.iso | cs | |
dc.publisher | Vysoká škola báňská – Technická univerzita Ostrava | cs |
dc.subject | bezkontextová gramatika | cs |
dc.subject | syntaktická analýza | cs |
dc.subject | syntaktický analyzátor | cs |
dc.subject | LL(1) | cs |
dc.subject | LR(0) | cs |
dc.subject | zásobníkový
automat | cs |
dc.subject | Chomského normální forma | cs |
dc.subject | Greibachové normální forma | cs |
dc.subject | Python | cs |
dc.subject | context-free grammar | en |
dc.subject | syntax analysis | en |
dc.subject | parser | en |
dc.subject | LL(1) | en |
dc.subject | LR(0) | en |
dc.subject | pushdown automaton | en |
dc.subject | Chomsky
normal form | en |
dc.subject | Greibach normal form | en |
dc.subject | Python | en |
dc.title | Program pro analýzu bezkontextových gramatik | cs |
dc.title.alternative | A Program for Analysis of Context-free Grammars | en |
dc.type | Diplomová práce | cs |
dc.contributor.referee | Kot, Martin | |
dc.date.accepted | 2022-08-09 | |
dc.thesis.degree-name | Ing. | |
dc.thesis.degree-level | Magisterský studijní program | cs |
dc.thesis.degree-grantor | Vysoká škola báňská – Technická univerzita Ostrava. Fakulta elektrotechniky a informatiky | cs |
dc.description.department | 460 - Katedra informatiky | cs |
dc.thesis.degree-program | Informační a komunikační technologie | cs |
dc.thesis.degree-branch | Informatika a výpočetní technika | cs |
dc.description.result | dobře | cs |
dc.identifier.sender | S2724 | |
dc.identifier.thesis | MER0103_FEI_N2647_2612T025_2022 | |
dc.rights.access | openAccess | |