Partial evaluation in guile › 尝试一下 try it out [#274]

Guile 的部分求值器是我和我的 Guile 维护者同事 Ludovic Courtès 共同完成的工作,它的灵感来源于 William Cook 在 2011 年 DSL 会议上的演讲以及 Waddell 和 Dybvig 共同完成的 Fast and Effective Procedure Inlining.
Guile's partial evaluator was joint work between myself and my fellow Guile maintainer Ludovic Courtès, and was inspired by a presentation by William Cook at DSL 2011, along with the Waddell and Dybvig's Fast and Effective Procedure Inlining.

此代码当前仅在从 git 构建的 Guile 开发树中。如果没问题,它将成为 Guile 2.0.3 的一部分,应该会在几周内发布。
This code is currently only in the development Guile tree, built from git. Barring problems, it will be part of Guile 2.0.3, which should be out in a couple weeks.

你可以在命令提示符下查看优化器做了什么:
You can check out what the optimizer does at the command prompt:

>,optimize (let ((x 13)) (* x x))
$1 = 169
>,optimize (let ((x 13)) (* x foo))
$2 = (* 13 foo)

玩得开心,然后将 bug 发送到 [email protected]
Have fun, and send bugs to [email protected].