2004
DOI: 10.1007/978-3-540-24723-4_7
|View full text |Cite
|
Sign up to set email alerts
|

Generalised Parsing: Some Costs

Abstract: Abstract. We discuss generalisations of bottom up parsing, emphasising the relative costs for real programming languages. Our goal is to provide a roadmap of the available approaches in terms of their space and time performance for programming language applications, focusing mainly on GLR style algorithms. It is well known that the original Tomita GLR algorithm fails to terminate on hidden left recursion: here we analyse two approaches to correct GLR parsing (i) the modification due to Farshi that is incorpora… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
10
0

Year Published

2005
2005
2020
2020

Publication Types

Select...
5
2
1

Relationship

2
6

Authors

Journals

citations
Cited by 18 publications
(10 citation statements)
references
References 15 publications
0
10
0
Order By: Relevance
“…We have previously reported some experimental results comparing the recogniser versions of BRNGLR and Earley's algorithm [15]. Here we present results comparing the parser versions of these algorithms.…”
Section: Cubic Lookahead Earley Parsing and Brnglr Parsingmentioning
confidence: 93%
“…We have previously reported some experimental results comparing the recogniser versions of BRNGLR and Earley's algorithm [15]. Here we present results comparing the parser versions of these algorithms.…”
Section: Cubic Lookahead Earley Parsing and Brnglr Parsingmentioning
confidence: 93%
“…In particular, we have compared Tomita's original algorithm, and Farshi's modification of it, with the RNGLR algorithm [24,7]; we have compared the Reduction Incorporated GLR algorithm with the other GLR algorithms [23,11]; we have developed resolved right nullable tables and considered their application to RNGLR and LR parsing [22]. We have also made comparative studies of these algorithms when running with a variety of types of LR tables and discussed some of the phenomena that underlie the space and time complexities of these parsers [14,15,13]. More recently we have reported on approaches to the removal of embedded recursion in grammars, a necessary precursor to automaton construction for RIGLR parsers [12,8].…”
Section: Grammars For Standard Programming Languagesmentioning
confidence: 97%
“…We ignore all recovery productions during normal parsing, and employ backtracking to apply the recovery rules only once an error is detected. Backtracking parsers exhibit exponential behavior in the worst case [Johnstone et al 2004]. For pathological cases with repetitive backtracking, the parser is aborted, and a secondary, non-correcting, recovery technique is applied.…”
Section: Backtrackingmentioning
confidence: 99%