Abstract
A new program transformation method is presented. It is a further refinement of supercompilation where the supercompiler is not applied directly to the function to be transformed, but to a metafunction, namely an interpreter which computes this function using its definition and an abstract (i.e. including variables) input. It is shown that with this method such tranfor-mations become possible which the direct application of the supercompiler cannot perform. Examples include the merging of iterative loops, function inversion, and transformation of deterministic into non-deterministic algorithms, and vice-versa. © 1993, Cambridge University Press. All rights reserved.
Cite
CITATION STYLE
Turchin, V. F. (1993). Program transformation with metasystem transitions. Journal of Functional Programming, 3(3), 283–313. https://doi.org/10.1017/S0956796800000757
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.