高阶按值调用语言的正超编译
Positive Supercompilation for a Higher-Order Call-By-Value Language
摘要:
以前的森林砍伐和超级编译算法在应用于按值调用程序时可能会引入意外终止。这对程序员隐藏了循环错误,并根据程序是否优化来改变程序的行为。我们提出了一个高阶按值调用语言的超编译算法,并证明了该算法既终止,并保持终止属性。该算法利用严格性信息来决定是否替换,并与以前的按名称调用转换进行了比较。
英文摘要:
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 prove that the algorithm both terminates and preserves termination properties. This algorithm utilizes strictness information to decide whether to substitute or not and compares favorably with previous call-by-name transformations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。