Results 21 to 30 of about 83 (79)
Practical arbitrary lookahead LR parsing
zbMATH Open Web Interface contents unavailable due to conflicting licenses.
University of Florida, Gainesville, Florida 32611, USA ( host institution ) +2 more
openaire +2 more sources
Generalized LR parsing and the shuffle operator
We adapt Tomita's Generalized LR algorithm to languages generated by context-free grammars enriched with a shuffle operator. The change involves extensions to the underlying handle-finding finite automaton, construction of parser tables, and the necessary optimizations in constructing a deterministic parser.
openaire +3 more sources
This paper is a short introduction to the research in LR parsing and its applications. It is concerned with the history of LR grammars and languages, LR parsing and parser optimization, generalizations of the LR grammar definition and parsing method, automatic parser construction, error handling and LR parsing for natural language.
openaire +3 more sources
LR Parsing of Permutation Phrases
This paper presents an efficient method for LR parsing of permutation phrases. In practical cases, the proposed algorithm constructs an LR(0) automaton that requires significantly fewer states to process a permutation phrase compared to the standard construction. For most real-world grammars, the number of states is typically reduced from $Ω(n!)$ to $O(
openaire +4 more sources
Syntax directed translation with LR parsing [PDF]
A simple extension of the usual LR parser construction is made in order to build a translator. The LR parsing algorithm is extended by a facility to do output operations within the action shift and reduce. A class of translation grammars, called R-translation grammars, is introduced as an extension of the class of postfix translation grammars ...
openaire +1 more source
Incremental scannerless generalized LR parsing
We present the Incremental Scannerless Generalized LR (ISGLR) parsing algorithm, which combines the benefits of Incremental Generalized LR (IGLR) parsing and Scannerless Generalized LR (SGLR) parsing. The parser preprocesses the input by modifying the previously saved parse forest.
openaire +2 more sources
LLLR Parsing: a Combination of LL and LR Parsing.
A new parsing method called LLLR parsing is defined and a method for producing LLLR parsers is described. An LLLR parser uses an LL parser as its backbone and parses as much of its input string using LL parsing as possible. To resolve LL conflicts it triggers small embedded LR parsers.
openaire +3 more sources
A parsing automata approach to LR theory
AbstractTwo simple but powerful tools are introduced in LR theory, viz. item grammars and parsing automata. Parsing automata are used to define a large class of correct prefix parsers operating in linear time. DeRemer's and Pager's parsing methods turn out to be special cases.
openaire +3 more sources
Generalised LR parsing algorithms.
This thesis concerns the parsing of context-free grammars. A parser is a tool, defined for a specific grammar, that constructs a syntactic representation of an input string and determines if the string is grammatically correct or not. An algorithm that is capable of parsing any context-free grammar is called a generalised (context-free) parser.
openaire +2 more sources
LR parsing for strings with placeholders
Kohei Nakamichi +2 more
openaire +2 more sources

