Results 11 to 20 of about 28,083 (188)

The computational power of parsing expression grammars [PDF]

open access: greenJournal 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

From regexes to parsing expression grammars [PDF]

open access: greenScience 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 Queiróz de Medeiros   +2 more
openalex   +3 more sources

XML schema validation using parsing expression grammars [PDF]

open access: gold, 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
  +4 more sources

Error reporting in Parsing Expression Grammars

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

Parsing Expression Grammar and Packrat Parsing – A Review

open access: diamondJournal of University of Shanghai for Science and Technology, 2020
Bryan Ford presented Parsing Expression Grammars (PEGs) as an alternative to specify rules for programming language, along with a Packrat parser, based on an idea of memoization. The idea proposed by B. Ford guarantees parsing of grammar written using PEGs in linear time in spite of backtracking. The primary aim of the paper is to highlight the details
Nikhil Mangrulkar S   +3 more
openalex   +2 more sources

Left recursion in Parsing Expression Grammars [PDF]

open access: greenScience 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 Queiróz de Medeiros   +2 more
openalex   +5 more sources

Parsing Expression Grammars with Unordered Choices

open access: diamondJournal of Information Processing, 2017
Nariyoshi Chida, Kimio Kuramitsu
openalex   +3 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 Queiróz de Medeiros   +1 more
openalex   +4 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

Top-Down Online Handwritten Mathematical Expression Parsing with Graph Grammar [PDF]

open access: bronze, 2015
In recognition of online handwritten mathematical expressions, symbol segmentation and classification and recognition of relations among symbols is managed through a parsing technique. Most parsing techniques follow a bottom-up approach and adapt grammars typically used to parse strings.
Frank Julca-Aguilar   +3 more
openalex   +3 more sources

Home - About - Disclaimer - Privacy