Deterministic parsing of ambiguous grammars

  • Authors:
  • A. V. Aho;S. C. Johnson;J. D. Ullman

  • Affiliations:
  • Bell Labs., Murray Hill, NJ;Bell Labs., Murray Hill, NJ;Princeton Univ., Princeton, NJ

  • Venue:
  • Communications of the ACM
  • Year:
  • 1975

Quantified Score

Hi-index 48.22

Visualization

Abstract

Methods of describing the syntax of programming languages in ways that are more flexible and natural than conventional BNF descriptions are considered. These methods involve the use of ambiguous context-free grammars together with rules to resolve syntactic ambiguities. It is shown how efficient LR and LL parsers can be constructed directly from certain classes of these specifications.