Results 11 to 20 of about 26,553 (178)

From regexes to parsing expression grammars [PDF]

open access: bronzeScience of Computer Programming, 2012
Most scripting languages nowadays use regex pattern-matching libraries. These regex libraries borrow the syntax of regular expressions, but have an informal semantics that is different from the semantics of regular expressions, removing the commutativity of alternation and adding ad-hoc extensions that cannot be expressed by formalisms for efficient ...
Sérgio Queiroz de Medeiros   +2 more
openalex   +3 more sources

The computational power of parsing expression grammars [PDF]

open access: bronzeJournal of Computer and System Sciences, 2020
We study the computational power of parsing expression grammars (PEGs). We begin by constructing PEGs with unexpected behaviour, and surprising new examples of languages with PEGs, including the language of palindromes whose length is a power of two, and a binary-counting language.
Bruno Loff, Nelma Moreira, Rogério Reis
openalex   +5 more sources

Computational Model for Parsing Expression Grammars [PDF]

open access: green
We present a computational model for Parsing Expression Grammars (PEGs). The predecessor of PEGs top-down parsing languages (TDPLs) were discovered by A. Birman and J. Ullman in the 1960-s, B. Ford showed in 2004 that both formalisms recognize the same class named Parsing Expression Languages (PELs). A. Birman and J.
Alexander A. Rubtsov, Nikita Chudinov
openalex   +5 more sources

Syntax error recovery in parsing expression grammars [PDF]

open access: greenProceedings of the 33rd Annual ACM Symposium on Applied Computing, 2018
Parsing Expression Grammars (PEGs) are a formalism used to describe top-down parsers with backtracking. As PEGs do not provide a good error recovery mechanism, PEG-based parsers usually do not recover from syntax errors in the input, or recover from syntax errors using ad-hoc, implementation-specific features.
Sérgio Queiroz de Medeiros   +1 more
openalex   +4 more sources

XML schema validation using parsing expression grammars

open access: green, 2015
Schema validation is an integral part of reliable information exchange on the Web. However, implementing an efficient schema validation tool is not easy. We highlight the use of parsing expression grammars (PEGs), a recognition-based foundation for describing syntax, and apply it to the XML/DTD validation.
Kimio Kuramitsu, Shin’ya Yamaguchi
  +5 more sources

Error reporting in Parsing Expression Grammars

open access: bronzeScience of Computer Programming, 2016
Preprint (plus appendix) submitted to Science of Computer ...
André Murbach Maidl   +3 more
openalex   +5 more sources

Left recursion in Parsing Expression Grammars [PDF]

open access: bronzeScience of Computer Programming, 2014
Las gramáticas de expresión de análisis (PEG) son un formalismo que puede describir todos los lenguajes libres de contexto deterministas a través de un conjunto de reglas que especifican un analizador de arriba hacia abajo para algún lenguaje. Los PEG son fáciles de usar y hay implementaciones eficientes de bibliotecas de PEG en varios lenguajes de ...
Sérgio Queiroz de Medeiros   +2 more
openalex   +6 more sources

Automatic Syntax Error Reporting and Recovery in Parsing Expression Grammars [PDF]

open access: greenScience of Computer Programming, 2019
Error recovery is an essential feature for a parser that should be plugged in Integrated Development Environments (IDEs), which must build Abstract Syntax Trees (ASTs) even for syntactically invalid programs in order to offer features such as automated refactoring and code completion.
Sérgio Queiroz de Medeiros   +2 more
  +9 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
15 pages, 15 figures, Certified Proofs and ...
Clément Blaudeau, Natarajan Shankar
openalex   +3 more sources

Home - About - Disclaimer - Privacy