A new method for determining linear precedence functions for precedence grammars

  • Authors:
  • James R. Bell

  • Affiliations:
  • Digital Equipment Corp., Maynard, MA

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

Quantified Score

Hi-index 48.26

Visualization

Abstract

The precedence relations of a precedence grammar can be precisely described by a two-dimensional precedence matrix. Often the information in the matrix can be represented more concisely by a pair of vectors, called linear precedence functions. A new algorithm is presented for obtaining the linear precedence functions when given the precedence matrix; this algorithm is shown to possess several computational adavantages.