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

Efficient parsing with parser combinators

Abstract: Parser combinators offer a universal and flexible approach to parsing. They follow the structure of an underlying grammar, are modular, well-structured, easy to maintain, and can recognize a large variety of languages including context-sensitive ones. However, these advantages introduce a noticeable performance overhead mainly because the same powerful parsing algorithm is used to recognize even simple languages. Time-wise, parser combinators cannot compete with parsers generated by well-performing parser gene… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
5
0

Year Published

2022
2022
2023
2023

Publication Types

Select...
3

Relationship

0
3

Authors

Journals

citations
Cited by 3 publications
(6 citation statements)
references
References 22 publications
0
5
0
Order By: Relevance
“…Thus the extended sequence of moves matches reduction process (24) if 𝑖 > 1 or (23) if 𝑖 = 1. β€’ For π‘˜ + 1 and 𝑖 = (𝑛 + 1) there is at most one move, say 𝛿(π‘ž, $) = βŸ¨π‘ž β€² , $, L⟩, and based on (17) there is reduction βŸ¨π‘ž ⊳ 𝑋 𝑛 ⟩]] ↦ βŸ¨π‘ž β€² ∢ 𝑋 𝑛 ⟩]] in  if and only if that move exists in .…”
Section: Equivalence Of Dlba's and Csr'smentioning
confidence: 93%
See 3 more Smart Citations
“…Thus the extended sequence of moves matches reduction process (24) if 𝑖 > 1 or (23) if 𝑖 = 1. β€’ For π‘˜ + 1 and 𝑖 = (𝑛 + 1) there is at most one move, say 𝛿(π‘ž, $) = βŸ¨π‘ž β€² , $, L⟩, and based on (17) there is reduction βŸ¨π‘ž ⊳ 𝑋 𝑛 ⟩]] ↦ βŸ¨π‘ž β€² ∢ 𝑋 𝑛 ⟩]] in  if and only if that move exists in .…”
Section: Equivalence Of Dlba's and Csr'smentioning
confidence: 93%
“…In stateful parsing the global parse-wide state is maintained and manipulated whenever context-free formalism does not suffice. It can be implemented in the classic way, e.g., in a hand-written parser or using a yacc-like tool [23], or using parser combinators [24,25]. ALL( * ) parsing, i.e., adaptive LL( * ) parsing, built into ANTLR4 [26], which is one of the most popular parser generators, provides support for scannerless parsers and predicated ALL( * ) grammars [27].…”
Section: Related Workmentioning
confidence: 99%
See 2 more Smart Citations
“…To address these complexities or to enhance the efficiency of Syntactical Analysis, various strategies have been explored. These include the implementation of combinators [20,21] and the optimization of existing combinators [22][23][24]. In the context of functional programming, the design of such combinators, conceptualized as functions that operate on other functions, introduces additional layers of complexity.…”
Section: Limitations Of Conventional Parsing Approachesmentioning
confidence: 99%