2009 · 33 citations · 31 references
ComputingComputer ScienceAlgorithmsCompilersProgramming LanguagesAbstract Syntax TreesCompiler ConstructionData-flow AnalysisTermination AnalysisType SystemsProgram TerminationTermination Mechanisms
Previous deforestation and supercompilation algorithms may introduce accidental termination when applied to call-by-value programs. This hides looping bugs from the programmer, and changes the behavior of a program depending on whether it is optimized or not. We present a supercompilation algorithm for a higher-order call-by-value language and we prove that the algorithm both terminates and preserves termination properties. This algorithm utilizes strictness information for deciding whether to substitute or not and compares favorably with previous call-by-name transformations.
31
A Transformation System for Developing Recursive Programs
R. M. Burstall, John Darlington · Journal of the ACM · 1977 · 1.3K citations · Full text
Philip Wadler · 1989 · 776 citations
Why Functional Programming Matters
John Hughes · The Computer Journal · 1989 · 739 citations · Full text
Nachum Dershowitz · Journal of Symbolic Computation · 1987 · 725 citations
Deforestation: transforming programs to eliminate trees
Philip Wadler · Theoretical Computer Science · 1990 · 707 citations