Proceedings of the 1995 ACM SIGPLAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation - PEPM '95 1995
DOI: 10.1145/215465.215579
|View full text |Cite
|
Sign up to set email alerts
|

The essence of LR parsing

Abstract: Partial evaluation can turn a general parser into a parser generator.The generated parsers surpass those produced by traditional parser generators in speed and compactness. We use an inherently functional approach to implement general LR(k) parsers and specialize them using the partial evaluatorSimilix.The functional implementation of LR parsing allows for concise implementation of the algorithms themselves and requires only straightforward changes to achieve good specialization results. In contrast, a traditi… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
9
0

Year Published

1995
1995
2014
2014

Publication Types

Select...
4
3
2

Relationship

3
6

Authors

Journals

citations
Cited by 15 publications
(9 citation statements)
references
References 7 publications
0
9
0
Order By: Relevance
“…Hence, no generation and recompilation is necessary to try out changes to a grammar. In the end, an automatic program transformation called partial evaluation produces a generated parsers from the general parser [16,18]. This guarantees consistency and ensures correctness.…”
Section: Methodsmentioning
confidence: 99%
“…Hence, no generation and recompilation is necessary to try out changes to a grammar. In the end, an automatic program transformation called partial evaluation produces a generated parsers from the general parser [16,18]. This guarantees consistency and ensures correctness.…”
Section: Methodsmentioning
confidence: 99%
“…We make use of the well known technique of multi-stage programming [35]. Sperber et al also use partial evaluation for optimizing LR parsers which are implemented as a functional-style library [31].…”
Section: Metaprogramming and Compiler Technologymentioning
confidence: 99%
“…The staged parser combinator approach makes use of multi-stage programming [26] to evaluate overhead away. Sperber et al also use partial evaluation for optimising LR parsers which are implemented as a functional-style library [24].…”
Section: Parsingmentioning
confidence: 99%