Results 11 to 20 of about 146,311 (198)

parboiled2: a macro-based approach for effective generators of parsing expressions grammars in Scala [PDF]

open access: greenarXiv, 2019
In today's computerized world, parsing is ubiquitous. Developers parse logs, queries to databases and websites, programming and natural languages. When Java ecosystem maturity, concise syntax, and runtime speed matters, developers choose parboiled2 that generates grammars for parsing expression grammars (PEG).
Alexander A. Myltsev
arxiv   +5 more sources

TRX: A Formally Verified Parser Interpreter [PDF]

open access: yesLogical Methods in Computer Science, 2011
Parsing is an important problem in computer science and yet surprisingly little attention has been devoted to its formal verification. In this paper, we present TRX: a parser interpreter formally developed in the proof assistant Coq, capable of producing
Adam Koprowski, Henri Binsztok
doaj   +4 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

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

Knotify: An Efficient Parallel Platform for RNA Pseudoknot Prediction Using Syntactic Pattern Recognition [PDF]

open access: yesMethods and Protocols, 2022
Obtaining valuable clues for noncoding RNA (ribonucleic acid) subsequences remains a significant challenge, acknowledging that most of the human genome transcribes into noncoding RNA parts related to unknown biological operations.
Christos Andrikos   +5 more
doaj   +2 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

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

The formalization and implementation of Adaptable Parsing Expression Grammars

open access: bronzeScience of Computer Programming, 2014
The term "extensible language" is especially used when a language allows the extension of its own concrete syntax and the definition of the semantics of new constructs. Most popular tools designed for automatic generation of syntactic analysers do not offer any adequate resources for the specification of extensible languages.
Leonardo Vieira dos Santos Reis   +3 more
openalex   +3 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

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

Home - About - Disclaimer - Privacy