Proceedings of the ACM SIGPLAN 1989 Conference on Programming Language Design and Implementation 1989
DOI: 10.1145/73141.74834
|View full text |Cite
|
Sign up to set email alerts
|

Incremental generation of parsers

Abstract: An LR-based parser generator for arbitrary context-free grammars is described, which generates parsers by need and processes grammar modifications by updating already existing parsers. We motivate the need for these techniques in the context of interactive language definition environments, present all required algorithms, and give measurements comparing their performance with that of conventional techniques.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
11
0

Year Published

1990
1990
2020
2020

Publication Types

Select...
5
3
1

Relationship

1
8

Authors

Journals

citations
Cited by 23 publications
(11 citation statements)
references
References 4 publications
0
11
0
Order By: Relevance
“…We scanned and parsed 735 files of Python source code, 786,793 tokens in total; the results are shown in Table 2. There is the standard Earley parser, of course, and two versions of PEP: one which precomputes the split LR(0) -DFA and another which lazily constructs the state machine (similar to the approach taken in [24] for GLR parsing). All timings reported in this section include both the time to recognize the input and the time to construct a rightmost derivation.…”
Section: Resultsmentioning
confidence: 99%
“…We scanned and parsed 735 files of Python source code, 786,793 tokens in total; the results are shown in Table 2. There is the standard Earley parser, of course, and two versions of PEP: one which precomputes the split LR(0) -DFA and another which lazily constructs the state machine (similar to the approach taken in [24] for GLR parsing). All timings reported in this section include both the time to recognize the input and the time to construct a rightmost derivation.…”
Section: Resultsmentioning
confidence: 99%
“…Our on-demand optimization of a dynamic programming into an automaton is related to similar optimizations applied in other areas: regular expression matching, parsing [HKR90] and simulating outof-order processors [SL98].…”
Section: Related Workmentioning
confidence: 99%
“…Fischer (1980) was first to describe a method for incrementally updating an LR(1) table. Heering et al(1990) use the principle of lazy evaluation to attack the same problem. Our design of incremental update LR is more closely related to ilalr for the following reasons:…”
Section: Incrementally Updating the Lr Tablementioning
confidence: 99%