1971
DOI: 10.1145/362619.362625
|View full text |Cite
|
Sign up to set email alerts
|

Simple LR(k) grammars

Abstract: A class of context-free grammars, called the "Simple LR(k)" or SLR(k) grammars is defined. This class has been shown to include weak precedence and simple precedence grammars as proper subsets. How to construct parsers for the SLR(k) grammars is also shown. These parser-construction techniques are extendible to cover all of the LR(k) grammars of Knuth; they have been implemented and by direct comparison proved to be superior to precedence techniques, not only in the range of grammars covered, but also in the s… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
40
0

Year Published

1975
1975
2012
2012

Publication Types

Select...
4
3

Relationship

0
7

Authors

Journals

citations
Cited by 209 publications
(40 citation statements)
references
References 9 publications
0
40
0
Order By: Relevance
“…We claim that this property holds: the automata produced by Menhir use default actions for this purpose (see Remark 1 in §2. 4). However, at present, we cannot even state this property, because it is an intensional property of the function parse: "if parse(ω, n) = parsed v ω , then ω has not been forced".…”
Section: Discussionmentioning
confidence: 95%
See 2 more Smart Citations
“…We claim that this property holds: the automata produced by Menhir use default actions for this purpose (see Remark 1 in §2. 4). However, at present, we cannot even state this property, because it is an intensional property of the function parse: "if parse(ω, n) = parsed v ω , then ω has not been forced".…”
Section: Discussionmentioning
confidence: 95%
“…(We discuss this issue in §7. ) Barthwal and Norrish [2] and Barthwal [3] use the HOL4 proof assistant to formalize SLR [4] parsing. For a context-free grammar, they construct an SLR parser, and are able to prove it sound and complete: the guarantees that they obtain are analogous to our Theorems 1 and 3.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…As typical examples strong LL(k) grammars and simple LR(k) grammars [2] deserve to be mentioned. This fact has lead to the investigation of transformations converting grammars into their "strong" counterparts (cf.…”
Section: Transformations To "Strong" Grammarsmentioning
confidence: 99%
“…This fact has lead to the investigation of transformations converting grammars into their "strong" counterparts (cf. [2,17]). We next show all these classes of grammars to possess a certain "common denominator".…”
Section: Transformations To "Strong" Grammarsmentioning
confidence: 99%