1998
DOI: 10.1145/293677.293678
|View full text |Cite
|
Sign up to set email alerts
|

Efficient and flexible incremental parsing

Abstract: Previously published algorithms for LR ( k ) incremental parsing are inefficient, unnecessarily restrictive, and in some cases incorrect. We present a simple algorithm based on parsing LR( k ) sentential forms that can incrementally parse an arbitrary number of textual and/or structural modifications in optimal time and with no storage overhead. The central role of balanced sequences in achieving truly incremental behavior from analysis al… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
30
0

Year Published

2001
2001
2020
2020

Publication Types

Select...
6
3

Relationship

1
8

Authors

Journals

citations
Cited by 41 publications
(30 citation statements)
references
References 24 publications
0
30
0
Order By: Relevance
“…Many of the limitations of LR(k) incremental parsing techniques, including inefficiency and unnecessary restrictiveness, are overcome in [36], which aims at making automatically generated incremental parsers in interactive software development environments both practical and effective.…”
Section: Definition 2 (Incremental Determinization and Minimization Pmentioning
confidence: 99%
“…Many of the limitations of LR(k) incremental parsing techniques, including inefficiency and unnecessary restrictiveness, are overcome in [36], which aims at making automatically generated incremental parsers in interactive software development environments both practical and effective.…”
Section: Definition 2 (Incremental Determinization and Minimization Pmentioning
confidence: 99%
“…There have been suggested many methods for incremental analysis. Algorithms of incremental compilation of context-free language class LL (Yang, 1993;Li, 1995;Li, 1996;Shilling, 1992;Murching, Prasad and Srikant, 1990;Ferro and Dion, 1994) and LR (Yang, 1994;Agrawal and Detrich, 1983;Tomita, 1987;Horspool, 1990;Wagner and Graham, 1997;Wagner and Graham, 1998;Wagner, 1998) have been published. Melichar and Vagner (2008) published an elementary text about how to create an incremental parser of LL(1) languages as a part of educational materials in English, based on previous publications of Li (1995), but suitably accompanied by examples and illustrations.…”
Section: Overview Of Literature and The Present Statementioning
confidence: 99%
“…As an example, smart error recovery schemes [18] are used either to help programmers find the cause of an error or to suggest possible corrections. Similarly incremental/lazy parsing [19] is also receiving more and more interest. This comes from the fact that syntactic analysis is nowadays tightly coupled to programming environment (e.g., it enables on-the-fly syntactic checking).…”
Section: Parsersmentioning
confidence: 99%