Přístupnostní navigace
E-přihláška
Vyhledávání Vyhledat Zavřít
Detail publikace
JIRÁK, O. KOLÁŘ, D.
Originální název
Comparison of Classical and Lazy Approach in SCG Compiler
Typ
článek ve sborníku mimo WoS a Scopus
Jazyk
angličtina
Originální abstrakt
The existing parsing methods of scattered context grammar usually expand nonterminals deeply in the pushdown. This expansion is implemented by using either a linked list, or some kind of an auxiliary pushdown. This paper describes the parsing algorithm of an LL(1)scattered context grammar. The given algorithm merges two principles together. The first approach is a table-driven parsing method commonly used for parsing of the context-free grammars. The second is a delayed execution used in functional programming. The main part of this paper is a proof of equivalence between the common principle (the whole rule is applied at once) and our approach (execution of the rules is delayed). Therefore, this approach works with the pushdown top only. In the most cases, the second approach is faster than the first one. Finally, the future work is discussed.
Klíčová slova
SCG, delayed execution, lazy functions, PDA
Autoři
JIRÁK, O.; KOLÁŘ, D.
Rok RIV
2011
Vydáno
22. 9. 2011
Nakladatel
American Institute of Physics
Místo
Halkidiki
ISBN
978-0-7354-0956-9
Kniha
NUMERICAL ANALYSIS AND APPLIED MATHEMATICS ICNAAM 2011: International Conference on Numerical Analysis and Applied Mathematics
ISSN
1551-7616
Periodikum
AIP Conference Proceedings
Ročník
1389
Číslo
1
Stát
Spojené státy americké
Strany od
873
Strany do
876
Strany počet
4
URL
http://link.aip.org/link/?APC/1389/873/1
BibTex
@inproceedings{BUT76286, author="Ota {Jirák} and Dušan {Kolář}", title="Comparison of Classical and Lazy Approach in SCG Compiler", booktitle="NUMERICAL ANALYSIS AND APPLIED MATHEMATICS ICNAAM 2011: International Conference on Numerical Analysis and Applied Mathematics", year="2011", journal="AIP Conference Proceedings", volume="1389", number="1", pages="873--876", publisher="American Institute of Physics", address="Halkidiki", isbn="978-0-7354-0956-9", issn="1551-7616", url="http://link.aip.org/link/?APC/1389/873/1" }