Results 151 to 160 of about 28,083 (188)
Some of the next articles are maybe not open access.
ACM SIGPLAN Notices, 2004
For decades we have been using Chomsky's generative system of grammars, particularly context-free grammars (CFGs) and regular expressions (REs), to express the syntax of programming languages and protocols. The power of generative grammars to express ambiguity is crucial to their original purpose of modelling natural languages, but this ...
openaire +1 more source
For decades we have been using Chomsky's generative system of grammars, particularly context-free grammars (CFGs) and regular expressions (REs), to express the syntax of programming languages and protocols. The power of generative grammars to express ambiguity is crucial to their original purpose of modelling natural languages, but this ...
openaire +1 more source
Towards Typed Semantics for Parsing Expression Grammars
We describe the formalization of a type system for parsing expression grammars (PEG) which is equivalent to Ford's original fixpoint-based definition of well-formed PEGs. We use our type system definition to implement a functional big-step semantics for typed PEGs using the Agda programming language.
Rodrigo Ribeiro +3 more
openalex +2 more sources
Cigale: A tool for interactive grammar construction and expression parsing
zbMATH Open Web Interface contents unavailable due to conflicting licenses.
Frédéric Voisin
openalex +3 more sources
Some Aspects of Parsing Expression Grammar
Fundamenta Informaticae, 2008Parsing Expression Grammar (PEG) is a new way to specify syntax, by means of a topdown processwith limited backtracking. It can be directly transcribed into a recursive-descent parser. The parser does not require a separate lexer, and backtracking removes the usual LL(1) constraint. This is convenient for many applications, but there are two problems:
openaire +2 more sources
A parsing machine for parsing expression grammars with labeled failures
Proceedings of the 31st Annual ACM Symposium on Applied Computing, 2016Parsing Expression Grammars (PEGs) are a formalism for specifying the syntax of programming languages which can be viewed as a description of a recursive descent parser for the language it describes. An issue that users of PEG-based parsers face is poor reporting of syntax errors on the part of PEG-based parsers.
Sérgio Medeiros, Fabio Mascarenhas
openaire +1 more source
Optimization of * operator in Parsing Expression Grammar
2015 IEEE International Conference on Electrical, Computer and Communication Technologies (ICECCT), 2015Packrat Parsing uses recursive decent parsing technique with memorization so that result will not be recomputed. The main advantage is that it allows the use of unlimited look ahead without constraints on the power and flexibility of backtracking. However, this is achieved at the cost of huge memory size.
Manish M. Goswami +2 more
openaire +1 more source
Parser Generator for Parsing Expression Grammar
2013In the field of formal languages apart from context free grammar (CFG) a new approach is developed i.e. Parsing Expression Grammar (PEG). Parsing Expression Grammar (PEG) is a new way to specify recursive-descent parsers with limited backtracking. The use of backtracking lifts the LL(1) restriction usually imposed by top-down parsers.
Tota, Madhavi, Kumar, P. Pradeep
openaire +1 more source
Applying Classical Concepts to Parsing Expression Grammar
Fundamenta Informaticae, 2009The paper is an attempt to see how much we can learn about a given Parsing Expression Grammar with the help of classical concepts used in the construction of predictive top-down parsers.
openaire +2 more sources
BITES Instead of FIRST for Parsing Expression Grammar
Fundamenta Informaticae, 2011In an earlier paper, the author adapted to Parsing Expression Grammars (PEGs) the properties FIRST and FOLLOW used in the construction of predictive top-down parsers. The purpose was to obtain warnings for possible “language hiding”. It turned out that FIRST does not work well with lookahead expressions.
openaire +2 more sources
An attribute language definition for adaptable parsing expression grammars
Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing, 2019Adaptable Parsing Expression Grammars (APEG) are a formal model whose main purpose is to formally describe the syntax of extensible languages and their extension mechanisms. APEG extends Parsing Expression Grammar model with the notion of syntactic attributes, which are values passed through parse tree nodes and used during the parsing process.
Elton M. Cardoso +5 more
openaire +1 more source

