计算机科学 > 程序设计语言
[提交于 2012年9月24日]
标题:A Note on Program Specialization. What Can Syntactical Properties of Residual Programs Reveal?
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The paper presents two examples of non-traditional using of program specialization by Turchin's supercompilation method. In both cases we are interested in syntactical properties of residual programs produced by supercompilation. In the first example we apply supercompilation to a program encoding a word equation and as a result we obtain a program representing a graph describing the solution set of the word equation. The idea of the second example belongs to Alexandr V. Korlyukov. He considered an interpreter simulating the dynamic of the well known missionaries-cannibals puzzle. Supercompilation of the interpreter allows us to solve the puzzle. The interpreter may also be seen as an encoding of a non-deterministic protocol.
提交历史
来自:Alexei Lisitsa[v1] 2012年9月24日 星期一 20:14:27 UTC