Bounded-Graph Construction for Noncanonical Discriminating-Reverse Parsers

  • Authors:
  • Jacques Farré;José Fortes Gálvez

  • Affiliations:
  • -;-

  • Venue:
  • CIAA '01 Revised Papers from the 6th International Conference on Implementation and Application of Automata
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a new approach for the construction of NDR parsers, which defines a new form of items and keeps track of bounded sequences of subgraph connections. This improves the precise recovery of conflicts' right-hand contexts over the basic looping approach, and thus allows to extend the class of accepted grammars. Acceptance of at least all LALR(k) grammars, for a given k, is guaranteed. Moreover, the construction needs no subgraph copies. Since bounded-graph and basic looping constructions only differ in the accuracy of the conflicts' right-hand contexts computation, the NDR parsing algorithm remains unchanged.