Efficient tree pattern matching (extended abstract): an aid to code generation

  • Authors:
  • Alfred V. Aho;Mahadevan Ganapathi

  • Affiliations:
  • AT&T Bell Laboratories, Murray Hill, New Jersey;Stanford University, Stanford, California

  • Venue:
  • POPL '85 Proceedings of the 12th ACM SIGACT-SIGPLAN symposium on Principles of programming languages
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

Abstract

We show that tree pattern matching has significant advantages in the specification and implementation of efficient code generators. We present a top-down tree-matching algorithm that is particularly well suited to code generation applications. Finally, we present a new back-end language that incorporates tree pattern matching with dynamic programming into a uniform framework for the specification and implementation of efficient code generators.