Calculation carrying programs - how to code program transformations
Masato Takeichi, Zhenjiang Hu · 2002
Proposes a new mechanism called "calculation-carrying programs" that can relax the tension between efficiency and clarity in programming. The idea is to accompany clear programs with some calculation specifying the intention of how to manipulate the programs to be efficient. This calculation specification can be executed automatically by our compiler to derive efficient programs. As a result, each calculation-carrying program becomes a complete document, including a concise specification of the given problem, as well as an effective way to derive both efficient and correct code.
Cited by 2 works. doi:10.1109/ispse.2000.913246
Authors
References
- A Transformation System for Developing Recursive Programs
- The implementation of functional programming languages
- An Introduction to the Theory of Lists
- Proving and applying program transformations expressed with second-order patterns
- Higher-order abstract syntax
- Functional programming with bananas, lenses, envelopes and barbed wire
- Multi-stage programming with explicit annotations
- ASTLOG: A Language for Examining Abstract Syntax Trees
- A short cut to deforestation
- Building program optimizers with rewriting strategies