Efficient tree pattern matching (extended abstract)
Alfred V. Aho, Mahadevan Ganapathi · ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages (POPL) · 1985
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.
Cited by 40 works. doi:10.1145/318593.318663 Open-access PDF
Authors
References
- Yacc : Yet Another Compiler Compiler
- Efficient string matching
- Principles of Compiler Design
- Principles of Compiler Design (Addison-Wesley series in computer science and information processing)
- The Generation of Optimal Code for Arithmetic Expressions
- A portable compiler
- Optimal Code Generation for Expression Trees
- Pattern Matching in Trees
- Code Generation for Expressions with Common Subexpressions
- Code-generation for machines with multiregister operations