A syntactic approach to program transformations
Zena M. Ariola · 1991
Kid, a language for expressing compiler optimizations for functional languages is introduced. The language is λ-calculus based but treats let-blocks as first class objects. Let-blocks and associated rewrite rules provide the basis to capture the sharing of subexpressions precisely. The language goes beyond λ-calculus by including I-structures which are essential to express efficient translations of list and array comprehensions. A calculus and a parallel interpreter for Kid are developed. Many commonly known program transformations are also presented. A partial evaluator for Kid is developed and a notion of correctness of Kid transformations based on the syntactic structure of terms and printable answers is presented.
Cited by 20 works. doi:10.1145/115865.115878
Authors
References
- Compilers: Principles, Techniques, and Tools
- The Lambda Calculus - Its Syntax and Semantics
- Call-by-name, call-by-value and the λ-calculus
- A new implementation technique for applicative languages
- Report on the programming language Haskell
- The implementation of functional programming languages
- Miranda: A non-strict functional language with polymorphic types
- Lambda calculus notation with nameless dummies, a tool for automatic formula manipulation, with application to the Church-Rosser theorem
- Fundamental Properties of Infinite Trees
- The Implementation of Functional Programming Languages (Prentice-hall International Series in Computer Science)