1980
DOI: 10.1145/357084.357086
|View full text |Cite
|
Sign up to set email alerts
|

Global Context Recovery: A New Strategy for Syntactic Error Recovery by Table-Drive Parsers

Abstract: Described is a method for syntactic error recovery that is compatible with deterministic parsing methods and that is able to recover from many errors more quickly than do other schemes because it performs global context recovery. The method relies on fiducial symbols, which are typically reserved key words of a language, to provide mileposts for error recovery. The method has been applied to LL(1) parsers, for which a detailed algorithm is given, and informally proved correct. The algorithm will always recover… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
17
0

Year Published

1983
1983
2012
2012

Publication Types

Select...
6
1

Relationship

0
7

Authors

Journals

citations
Cited by 28 publications
(17 citation statements)
references
References 9 publications
0
17
0
Order By: Relevance
“…We believe this can be attributed to the fact that the language consists mainly of identifier-like tokens, partly because the identifier sublanguage is larger than in many DSLs, and partly because many language constructs consist of Dutch words with only minimal punctuation. This means it may be expensive for the parser to get back "in sync" with the stream of characters after a parse error, unless statements happen to be separated, terminated, or preceded by a fiducial symbol [43] such as the newline character.…”
Section: Line Continuation Construct and Mandatory Line Endingsmentioning
confidence: 99%
“…We believe this can be attributed to the fact that the language consists mainly of identifier-like tokens, partly because the identifier sublanguage is larger than in many DSLs, and partly because many language constructs consist of Dutch words with only minimal punctuation. This means it may be expensive for the parser to get back "in sync" with the stream of characters after a parse error, unless statements happen to be separated, terminated, or preceded by a fiducial symbol [43] such as the newline character.…”
Section: Line Continuation Construct and Mandatory Line Endingsmentioning
confidence: 99%
“…Following these criteria, an excellent recovery is one that is exactly the same as the intended program, a good recovery is one that results in a reasonable program without spurious or missed errors, and a poor recovery is a recovery that introduces spurious errors or involves excessive token deletion. The Pennello and DeRemer criteria represent the state of the art evaluation method for syntactic error recovery applied in, amongst others, [Pennello and DeRemer 1978;Pai and Kieburtz 1980;Degano and Priami 1995;Corchuelo et al 2002].…”
Section: Setupmentioning
confidence: 99%
“…The problem of handling syntax errors during parsing has been widely studied [Lévy 1971;Mauney and Fischer 1988;Pai and Kieburtz 1980;Barnard and Holt 1982;Tai 1978;Fischer et al 1980;Degano and Priami 1995;McKenzie et al 1995;Corchuelo et al 2002]. We focus on LR parsing for which there are several different error recovery techniques [Degano and Priami 1995].…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations