DocumentCode :
3628281
Title :
LR-regular grammars An extension of LR(k) grammars
Author :
Rina Cohen;Karel Culik
fYear :
1971
Firstpage :
153
Lastpage :
165
Abstract :
LR-regular grammars are defined similarly to Knuth´s LR(k) grammars, with the following exception. Arbitrarily long look-ahead is allowed before making a parsing decision during the bottom-up syntactical analysis; however, this look-ahead is restricted in that the essential "lookahead information" can be represented by a finite number of regular sets, thus can be computed by a finite state machine. LR-regular grammars can be parsed deterministically in linear time by a rather simple two-scan algorithm. Efficient parsers are constructed for given LR-regular grammars. The family of LR-regular languages is studied; it properly includes the family of deterministic CF languages and has similar properties. Necessary and sufficient conditions for a grammar to be LR-regular are derived and then utilized for developing parser generation techniques for arbitrary grammars.
Keywords :
"Arithmetic","Computer languages","Computer science","Information analysis","Automata","Sufficient conditions"
Publisher :
ieee
Conference_Titel :
Switching and Automata Theory, 1971., 12th Annual Symposium on
ISSN :
0272-4847
Type :
conf
DOI :
10.1109/SWAT.1971.17
Filename :
4569676
Link To Document :
بازگشت