Attribute-Influenced LR Parsing

Authors

  • Neil D. Jones
  • Michael Madsen

DOI:

https://doi.org/10.7146/dpb.v9i119.6537

Abstract

Methods are described which make it possible, when given an arbitrary attribute grammar (or AG),

  1. to analyze the AG to determine which of its attributes may be computed during LR parsing;
  2. to augment the parser with instructions and data structures to compute many attributes during parsing;
  3. to use attribute values to assist the parsing process (e.g. to use symbol table information to decide whether P(X) is an array element or a function call).

Author Biographies

Neil D. Jones

Michael Madsen

Downloads

Published

1980-04-01

How to Cite

Jones, N. D., & Madsen, M. (1980). Attribute-Influenced LR Parsing. DAIMI Report Series, 9(119). https://doi.org/10.7146/dpb.v9i119.6537