2010
DOI: 10.1016/j.scico.2009.07.001
|View full text |Cite
|
Sign up to set email alerts
|

Recognition is not parsing — SPPF-style parsing from cubic recognisers

Abstract: a b s t r a c tIn their recogniser forms, the Earley and RIGLR algorithms for testing whether a string can be derived from a grammar are worst-case cubic on general context free grammars (CFG). Earley gave an outline of a method for turning his recognisers into parsers, but it turns out that this method is incorrect. Tomita's GLR parser returns a shared packed parse forest (SPPF) representation of all derivations of a given string from a given CFG but is worstcase unbounded polynomial order. The parser version… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
5
0

Year Published

2013
2013
2022
2022

Publication Types

Select...
4
2
1

Relationship

2
5

Authors

Journals

citations
Cited by 10 publications
(5 citation statements)
references
References 18 publications
0
5
0
Order By: Relevance
“…(A nonterminal X is cyclic in Γ if X → + Γ X.) Several technologies for representing multiple derivations efficiently are discussed in [6,12]. This paper adopts the binary subtree representation approach of [12] in which a set Υ efficiently embeds (potentially infinitely many) derivations.…”
Section: Grammars and Derivationsmentioning
confidence: 99%
See 1 more Smart Citation
“…(A nonterminal X is cyclic in Γ if X → + Γ X.) Several technologies for representing multiple derivations efficiently are discussed in [6,12]. This paper adopts the binary subtree representation approach of [12] in which a set Υ efficiently embeds (potentially infinitely many) derivations.…”
Section: Grammars and Derivationsmentioning
confidence: 99%
“…Parser generators such as Yacc or Happy implement (variants of) BNF and generate parsers for different classes of contextfree grammars. Generalised parsing algorithms such as Earley [1], GLR [2] and GLL [3,4] admit all contextfree grammars and compute all possible derivations of a string [5,6]. Generalised parsing eases the design of programming languages because, compared to traditional techniques, one no longer needs to adjust the concrete syntax of the language to allow a certain parsing technique.…”
Section: Introductionmentioning
confidence: 99%
“…Tomita's parser was a Generalized LR parser of worst-case unbounded polynomial order. Later, Scott (2008) and Scott and Johnstone (2010) presented an Earley-based parser which produces a binarized SPPF representation of all derivations of a sentence in worst-case cubic time. This parser meets all of the above mentioned criteria.…”
Section: Variants and Feature Agreementmentioning
confidence: 99%
“…State-of-the-art complete parsers compute Binarised Shared Packed Parse Forest (BSPPFs), a data structure capable of representing all possible derivations of a sentence in O (n 3 ) space 1 [30,33]. Rather than building BSPPFs as sets of nodes and edges, the parsing procedures of this paper construct sets of extended packed nodes 2 (EPNs) containing sufficient information to construct all other nodes and the edges between them.…”
Section: Grammars and Derivationsmentioning
confidence: 99%
“…Parser generators such as Yacc or Happy implement (variants of) BNF and, depending on the underlying parsing technology, generate parsers for different classes of context-free grammars. Generalised parsing algorithms such as GLR [39] and GLL [29,31] admit all context-free grammars and compute all possible derivations of an input sentence [30,33]. Several parser generators generate generalised parsers [19,24,41].…”
Section: Introductionmentioning
confidence: 99%