2014
DOI: 10.1007/978-3-319-11245-9_15
|View full text |Cite
|
Sign up to set email alerts
|

Simple, Efficient, Sound and Complete Combinator Parsing for All Context-Free Grammars, Using an Oracle

Abstract: Abstract. Parsers for context-free grammars can be implemented directly and naturally in a functional style known as "combinator parsing", using recursion following the structure of the grammar rules. Traditionally parser combinators have struggled to handle all features of context-free grammars, such as left recursion. Previous work introduced novel parser combinators that could be used to parse all context-free grammars. A parser generator built using these combinators was proved both sound and complete in t… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
14
0

Year Published

2016
2016
2020
2020

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 6 publications
(14 citation statements)
references
References 13 publications
(28 reference statements)
0
14
0
Order By: Relevance
“…The BSR elements are enumerated in Figure 4. As an example, consider grammar Γ EEE in Figure 3 taken from Ridge [20] and the execution of the fun-gll algorithm in Table 1 with grammar Γ EEE and t-string "1" as inputs. Each row of the table corresponds to the selection of a descriptor (second column) from the worklist.…”
Section: Fun-gllmentioning
confidence: 99%
See 1 more Smart Citation
“…The BSR elements are enumerated in Figure 4. As an example, consider grammar Γ EEE in Figure 3 taken from Ridge [20] and the execution of the fun-gll algorithm in Table 1 with grammar Γ EEE and t-string "1" as inputs. Each row of the table corresponds to the selection of a descriptor (second column) from the worklist.…”
Section: Fun-gllmentioning
confidence: 99%
“…For example, memoisation can overcome some of the inefficiencies of backtracking [14], lookahead can reduce backtracking [15], sophisticated memoisation can handle left-recursion [16], and leftrecursion can be removed automatically [17]. Grammar combinator libraries extract grammars from combinator expressions before giving the grammars to a stand-alone parsing procedure [18,19] that may be generalised [20].…”
Section: Introductionmentioning
confidence: 99%
“…Two certifications of full context-free parsers have been produced while the present paper was in submission. Ridge [2014] has produced a novel, fully verified parser that also has good practical performance. Firsov and Uustalu [2014] have verified the CYK parsing algorithm (a precursor of Valiant's).…”
Section: Smallestmentioning
confidence: 99%
“…While the parser of [Ridge, 2014], provides also a combinator interface, it begins by converting the grammar to a first order representation.…”
Section: Smallestmentioning
confidence: 99%
“…Using Earley's algorithm or GLL, it is possible to define a grammar in a combinator style, and then interpret such a grammar. Such interpretive version of Earley parsing is provided in [20]. In an earlier work [2], we provided an interpretive formulation of GLL Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page.…”
Section: Introductionmentioning
confidence: 99%