Results 11 to 20 of about 298 (141)

A Drop-in Replacement for LR(1) Table-Driven Parsing

open access: yesAdvances in Computing and Engineering, 2021
This paper presents a construction method for a deterministic one-symbol look-ahead LR parser which allows non-terminals in the parser look-ahead. This effectively relaxes the requirement of parsing the reverse of the right-most derivation of a string ...
Michael Oudshoorn
doaj   +1 more source

On Parsing Programming Languages with Turing-Complete Parser

open access: yesMathematics, 2023
A new parsing method based on the semi-Thue system is described. Similar to, but with more efficient implementation than Markov normal algorithms, it can be used for parsing any recursively enumerable language.
Boštjan Slivnik, Marjan Mernik
doaj   +1 more source

RNGSGLR: Generalization of the Context-Aware Scanning Architecture for All Character-Level Context-Free Languages

open access: yesMathematics, 2022
The limitations of traditional parsing architecture are well known. Even when paired with parsing methods that accept all context-free grammars (CFGs), the resulting combination for any given CFG accepts only a limited subset of corresponding character ...
Žiga Leber   +3 more
doaj   +1 more source

Speeding up Generalized PSR Parsers by Memoization Techniques [PDF]

open access: yesElectronic Proceedings in Theoretical Computer Science, 2019
Predictive shift-reduce (PSR) parsing for hyperedge replacement (HR) grammars is very efficient, but restricted to a subclass of unambiguous HR grammars.
Mark Minas
doaj   +1 more source

Repairing syntax errors in LR parsers [PDF]

open access: yesACM Transactions on Programming Languages and Systems, 2002
This article reports on an error-repair algorithm for LR parsers. It locally inserts, deletes or shifts symbols at the positions where errors are detected, thus modifying the right context in order to resume parsing on a valid piece of input. This method improves on others in that it does not require the user to provide additional information about the
Corchuelo Gil, Rafael   +3 more
openaire   +3 more sources

Tolerant parsing using modified LR(1) and LL(1) algorithms with embedded “Any” symbol

open access: yesТруды Института системного программирования РАН, 2019
Tolerant parsing is a form of syntax analysis aimed at capturing the structure of certain points of interest presented in a source code. While these points should be well-described in a tolerant grammar of the language, other parts of the program are ...
Alexey Valerievitch Goloveshkin
doaj   +1 more source

Notes on LR parser design [PDF]

open access: yesProceedings of the 15th conference on Computational linguistics -, 1994
5 pages, uuncoded, gzipped ...
openaire   +2 more sources

Validating LR(1) Parsers [PDF]

open access: yes, 2012
An LR(1) parser is a finite-state automaton, equipped with a stack, which uses a combination of its current state and one lookahead symbol in order to determine which action to perform next. We present a validator which, when applied to a context-free grammar G and an automaton A, checks that A and G agree.
Jourdan, Jacques-Henri   +2 more
openaire   +1 more source

Towards Efficient, Typed LR Parsers

open access: yesElectronic Notes in Theoretical Computer Science, 2006
AbstractThe LR parser generators that are bundled with many functional programming language implementations produce code that is untyped, needlessly inefficient, or both. We show that, using generalized algebraic data types, it is possible to produce parsers that are well-typed (so they cannot unexpectedly crash or fail) and nevertheless efficient ...
Pottier, François, Régis-Gianas, Yann
openaire   +2 more sources

A functional LR parser

open access: yesTheoretical Computer Science, 1992
zbMATH Open Web Interface contents unavailable due to conflicting licenses.
Leermakers, M.C.J.   +2 more
openaire   +3 more sources

Home - About - Disclaimer - Privacy