计算机科学 > 程序设计语言
[提交于 2024年12月5日]
标题:Inversion by Partial Evaluation: A Reversible Interpreter Experiment
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A computational limit of combining partial evaluation and program inversion is investigated. Using a reversible Turing machine interpreter, we show that the first Futamura and inversion projections can produce not only functionally but also textually equivalent programs. The construction of the interpreter in a reversible flowchart language is shown in full. Insights are provided on the practical interplay between reversible interpreters, program inverters, and partial evaluators. We conclude that both projections must be included in the program transformation toolbox.
提交历史
来自:EPTCS[v1] 2024年12月5日 星期四 00:00:00 UTC