Abstract Writing a parser remains remarkably painful. Automatic parser generators offer a powerful and systematic way to parse complex grammars, but debugging conflicts in grammars can be time-consuming even for experienced language designers. Better tools for diagnosing parsing conflicts will alleviate this difficulty. This paper proposes a practical algorithm that generates compact, helpful counterexamples for LALR grammars. For each parsing conflict in a grammar, a counterexample demonstrating the conflict is constructed. When the grammar in question is ambiguous, the algorithm usually generates a compact counterexample illustrating the ambiguity. This algorithm has been implemented as an extension to the CUP parser generator. The result...
The Meta-Environment enables the creation of grammars using the SDF formalism. From these grammars a...
Parsing is a fundamental building block in modern compilers, and for industrial programming language...
Parsing context-dependent computer lan-guages requires an ability to maintain and query data structu...
AbstractThere has been a recent effort in the literature to reconsider grammar-dependent software de...
The first practical application of the LR algorithm was by [1] for the LALR(1) subset of LR(1) gramm...
AbstractThe algorithm we present here generates finite-state automata for potentially unbounded exam...
AbstractAlthough programs convey an unambiguous meaning, the grammars used in practice to describe t...
AbstractWe present a practical technique for computing lookahead for an LR(0) parser, that progressi...
The use of unconstrained context-free grammars for generalized parsing techniques has several advant...
Static ambiguity detection would be an important aspect of language workbenches for textual softwar...
Despite all the advance brought by LALR parsing method by DeRemer in the late 60's, conflicts contin...
Programming language developers are blessed with the availability of efficient, powerful tools for p...
Static ambiguity detection would be an important aspect of language workbenches for textual software...
textabstractContext-free grammars are the most suitable and most widely used method for describing t...
AbstractA robust parser for context-free grammars, based on a dynamic programming architecture, is d...
The Meta-Environment enables the creation of grammars using the SDF formalism. From these grammars a...
Parsing is a fundamental building block in modern compilers, and for industrial programming language...
Parsing context-dependent computer lan-guages requires an ability to maintain and query data structu...
AbstractThere has been a recent effort in the literature to reconsider grammar-dependent software de...
The first practical application of the LR algorithm was by [1] for the LALR(1) subset of LR(1) gramm...
AbstractThe algorithm we present here generates finite-state automata for potentially unbounded exam...
AbstractAlthough programs convey an unambiguous meaning, the grammars used in practice to describe t...
AbstractWe present a practical technique for computing lookahead for an LR(0) parser, that progressi...
The use of unconstrained context-free grammars for generalized parsing techniques has several advant...
Static ambiguity detection would be an important aspect of language workbenches for textual softwar...
Despite all the advance brought by LALR parsing method by DeRemer in the late 60's, conflicts contin...
Programming language developers are blessed with the availability of efficient, powerful tools for p...
Static ambiguity detection would be an important aspect of language workbenches for textual software...
textabstractContext-free grammars are the most suitable and most widely used method for describing t...
AbstractA robust parser for context-free grammars, based on a dynamic programming architecture, is d...
The Meta-Environment enables the creation of grammars using the SDF formalism. From these grammars a...
Parsing is a fundamental building block in modern compilers, and for industrial programming language...
Parsing context-dependent computer lan-guages requires an ability to maintain and query data structu...