Results 11 to 20 of about 7,553 (183)

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

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

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

Efficient Tabular LR Parsing [PDF]

open access: yes, 1996
We give a new treatment of tabular LR parsing, which is an alternative to Tomita's generalized LR algorithm. The advantage is twofold. Firstly, our treatment is conceptually more attractive because it uses simpler concepts, such as grammar ...
Nederhof, Mark-Jan, Satta, Giorgio
core   +4 more sources

Cover results and normal forms [PDF]

open access: yes, 1977
The purpose of this paper was to sketch an area of problems for the concept of cover. We showed that in spite of some remarks in the literature the problem of covering (unambiguous and -free) cfg's with cfg's in GNF is open.
Nijholt, A.
core   +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