1991
DOI: 10.1145/122501.122505
|View full text |Cite
|
Sign up to set email alerts
|

Substring parsing for arbitrary context-free grammars

Abstract: A su bstring recognizer for a language L determines whether a string s is a substring of a sentence in L, i.e., substring-recognize(s) succeeds if and only if 3v , w: vsw E L. The algorithm for sub string recognition presented here accepts general context-free grammars and uses the same parse tables as the parsing algorithm from which it was derived. Substring recognition is useful for non correcting syntax error recovery and for incremen tal parsing. By extending the substring recognizer with the ability to g… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
8
0

Year Published

1996
1996
2017
2017

Publication Types

Select...
4
3

Relationship

0
7

Authors

Journals

citations
Cited by 19 publications
(8 citation statements)
references
References 16 publications
(18 reference statements)
0
8
0
Order By: Relevance
“…In related work, only a study by Valkering [2007], based on substring parsing [Rekers and Koorn 1991], offered a partial approach to error recovery with SGLR parsing. To report syntactic errors, Valkering inspects the stack of the parser to determine the possible strings that can occur at that point.…”
Section: Recovery For Composite Languagesmentioning
confidence: 99%
“…In related work, only a study by Valkering [2007], based on substring parsing [Rekers and Koorn 1991], offered a partial approach to error recovery with SGLR parsing. To report syntactic errors, Valkering inspects the stack of the parser to determine the possible strings that can occur at that point.…”
Section: Recovery For Composite Languagesmentioning
confidence: 99%
“…In related work, only a study by Valkering [26], based on substring parsing [23], offered a partial approach to error recovery with SGLR parsing. Composed languages are also supported by parsing expression grammars (PEGs) [9].…”
Section: Related Workmentioning
confidence: 99%
“…Furthermore, he constructs partial parse trees for the fragments that follow an error using substring parsing, introduced by Rekers and Koorn [31]. Based on these partial parsing techniques, the result of the parser is a set of (often highly ambiguous) partial parse trees.…”
Section: Related Workmentioning
confidence: 99%