Using computation sequences to define evaluators for attribute grammars

Authors

  • Hanne Riis Nielson

DOI:

https://doi.org/10.7146/dpb.v10i139.7413

Abstract

An evaluator for an attribute grammar takes a derivation tree as input and produces a computation sequence for it as output. We give a simple but general construction of an evaluator for any well-defined attribute grammar and we prove its correctness. Evaluators for seueral subclasses of attribute grammars can be constructed by changing a preprocessing stage of the evaluator.

Author Biography

Hanne Riis Nielson

Downloads

Published

1981-11-01

How to Cite

Nielson, H. R. (1981). Using computation sequences to define evaluators for attribute grammars. DAIMI Report Series, 10(139). https://doi.org/10.7146/dpb.v10i139.7413