Results 1 to 10 of about 146,311 (198)

Linear Parsing Expression Grammars [PDF]

open access: greenarXiv, 2017
PEGs were formalized by Ford in 2004, and have several pragmatic operators (such as ordered choice and unlimited lookahead) for better expressing modern programming language syntax. Since these operators are not explicitly defined in the classic formal language theory, it is significant and still challenging to argue PEGs' expressiveness in the context
A Birman   +10 more
arxiv   +10 more sources

On the Relation between Context-Free Grammars and Parsing Expression Grammars [PDF]

open access: bronzeScience of Computer Programming, 2013
Context-Free Grammars (CFGs) and Parsing Expression Grammars (PEGs) have several similarities and a few differences in both their syntax and semantics, but they are usually presented through formalisms that hinder a proper comparison. In this paper we present a new formalism for CFGs that highlights the similarities and differences between them.
Ierusalimschy, Roberto   +2 more
arxiv   +8 more sources

Derivatives of Parsing Expression Grammars [PDF]

open access: diamondElectronic Proceedings in Theoretical Computer Science, 2017
This paper introduces a new derivative parsing algorithm for recognition of parsing expression grammars. Derivative parsing is shown to have a polynomial worst-case time bound, an improvement on the exponential bound of the recursive descent algorithm ...
Aaron Moss
doaj   +6 more sources

“gnparser”: a powerful parser for scientific names based on Parsing Expression Grammar [PDF]

open access: goldBMC Bioinformatics, 2017
Background Scientific names in biology act as universal links. They allow us to cross-reference information about organisms globally. However variations in spelling of scientific names greatly diminish their ability to interconnect data.
Dmitry Y. Mozzherin   +2 more
doaj   +7 more sources

Parsing Expression Grammars and Their Induction Algorithm [PDF]

open access: goldApplied Sciences, 2020
Grammatical inference (GI), i.e., the task of finding a rule that lies behind given words, can be used in the analyses of amyloidogenic sequence fragments, which are essential in studies of neurodegenerative diseases.
Wojciech Wieczorek   +2 more
doaj   +6 more sources

Parsing Expression Grammars Made Practical [PDF]

open access: greenProceedings of the 2015 ACM SIGPLAN International Conference on Software Language Engineering, 2015
Parsing Expression Grammars (PEGs) define languages by specifying recursive-descent parser that recognises them. The PEG formalism exhibits desirable properties, such as closure under composition, built-in disambiguation, unification of syntactic and ...
Laurent, Nicolas, Mens, Kim
core   +7 more sources

Left Recursion in Parsing Expression Grammars [PDF]

open access: bronzeScience of Computer Programming, 2014
Parsing Expression Grammars (PEGs) are a formalism that can describe all deterministic context-free languages through a set of rules that specify a top-down parser for some language.
Aho   +37 more
core   +6 more sources

Error Reporting in Parsing Expression Grammars

open access: bronzeScience of Computer Programming, 2016
Parsing Expression Grammars (PEGs) describe top-down parsers. Unfortunately, the error-reporting techniques used in conventional top-down parsers do not directly apply to parsers based on Parsing Expression Grammars (PEGs), so they have to be somehow ...
Ierusalimschy, Roberto   +3 more
core   +5 more sources

A Verified Packrat Parser Interpreter for Parsing Expression Grammars [PDF]

open access: bronzeProceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, 2020
Parsing expression grammars (PEGs) offer a natural opportunity for building verified parser interpreters based on higher-order parsing combinators. PEGs are expressive, unambiguous, and efficient to parse in a top-down recursive descent style. We use the rich type system of the PVS specification language and verification system to formalize the ...
Clément Blaudeau, Natarajan Shankar
arxiv   +5 more sources

Recognising and Generating Terms using Derivatives of Parsing Expression Grammars [PDF]

open access: greenarXiv, 2018
Grammar-based sentence generation has been thoroughly explored for Context-Free Grammars (CFGs), but remains unsolved for recognition-based approaches such as Parsing Expression Grammars (PEGs). Lacking tool support, language designers using PEGs have difficulty predicting the behaviour of their parsers. In this paper, we extend the idea of derivatives,
Tony Garnock-Jones   +2 more
arxiv   +5 more sources

Home - About - Disclaimer - Privacy