DocumentCode
3052557
Title
A unifying model for lookahead LR parsing
Author
Bermudez, Manuel E.
Author_Institution
Florida Univ., Gainesville, FL, USA
fYear
1988
fDate
9-13 Oct 1988
Firstpage
18
Lastpage
24
Abstract
A construction method is presented for lookahead LR passers that unifies many of the construction algorithms available in the literature. The model allows single, multiple, and arbitrary symbol lookahead, each only when required. Three user-supplied parameters are used by the construction method; specific settings of these parameters yield well-known grammar classes such as LALR(k ), SLR(k ), and several subsets of the LR-regular class, among others. Thus. rather than using several severely incompatible parser generators, or making unnatural changes to the grammar to accommodate the parsing techniques, one can manipulate these parameters to obtain a suitable parsing technique. The model captures the essence of the problem of computing lookahead for LR parsers, and provides a better understanding of the relationships among the corresponding classes of context-free grammars
Keywords
context-free grammars; program compilers; systems analysis; LALR; LR-regular class; SLR; arbitrary symbol lookahead; construction algorithms; construction method; context-free grammars; grammar classes; lookahead LR passers; parser generators; parsing techniques; unifying model; user-supplied parameters; Automata; Context modeling; Debugging; Equations; H infinity control; Mars; Merging;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Languages, 1988. Proceedings., International Conference on
Conference_Location
Miami Beach, FL
Print_ISBN
0-8186-0874-9
Type
conf
DOI
10.1109/ICCL.1988.13038
Filename
13038
Link To Document