Attribute-Influenced LR Parsing

Forfattere

  • Neil D. Jones
  • Michael Madsen

DOI:

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

Resumé

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).

Forfatterbiografier

Neil D. Jones

Michael Madsen

Downloads

Publiceret

1980-04-01

Citation/Eksport

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