Composing tree attributions

  • Authors:
  • John Boyland;Susan L. Graham

  • Affiliations:
  • Computer Science Division - EECS, 571 Evans Hall, University of California, Berkeley, California;Computer Science Division - EECS, 571 Evans Hall, University of California, Berkeley, California

  • Venue:
  • POPL '94 Proceedings of the 21st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
  • Year:
  • 1994

Quantified Score

Hi-index 0.01

Visualization

Abstract

Using the simple tree attributions described in this paper, attribute values can themselves be trees, enabling attribution to be used for tree transformations. Unlike higher-order attribute grammars, simple tree attributions have the property of descriptional composition, which allows a complex transformation to be built up from simpler ones, yet be executed efficiently. In contrast to other formalisms that admit descriptional composition, notably composable attribute grammars, simple tree attributions have the expressive power to handle remote references and recursive syntactic (tree-generating) functions, providing significantly more general forms of attribution and transformation.