1997 · 83 citations · 17 references
ComputingComputer ScienceAlgorithmsCompilersData StructuresAbstract Syntax TreesCompiler ConstructionData Structure AlgorithmsData-flow AnalysisRecursion TheoryRecursionRecursive FunctionsUnfolding Analysis
Tupling is a well-known transformation tactic to obtain new efficient recursive functions by grouping some recursive functions into a tuple. It may be applied to eliminate multiple traversals over the common data structure. The major difficulty in tupling transformation is to find what functions are to be tupled and how to transform the tupled function into an efficient one. Previous approaches to tupling transformation are essentially based on fold/unfold transformation. Though general, they suffer from the high cost of keeping track of function calls to avoid infinite unfolding, which prevents them from being used in a compiler.To remedy this situation, we propose a new method to expose recursive structures in recursive definitions and show how this structural information can be explored for calculating out efficient programs by means of tupling. Our new tupling calculation algorithm can eliminate most of multiple data traversals and is easy to be implemented.
17
A Transformation System for Developing Recursive Programs
R. M. Burstall, John Darlington · Journal of the ACM · 1977 · 1.3K citations · Full text
The implementation of functional programming languages
Microprocessors and Microsystems · 1987 · 1.1K citations
“Memo” Functions and Machine Learning
Donald Michie · Nature · 1968 · 554 citations
Andrew Gill, John Launchbury, Simon Jones · 1993 · 415 citations · Full text
Shortcut deforestation in calculational form
Akihiko Takano, Erik Meijer · 1995 · 165 citations
Natural Resources, Forestry, Environmental Impact Assessment +5