问题描述
我一直在使用DrScheme 4.2中的SICP模块,但哪种语言对DrScheme中的SICP有最好的支持?
有没有人试过?
谢谢。
我不认为你需要任何东西,除了这是可用的在DrScheme中通过语言>选择语言...
。
您可能想要允许重新定义绑定。选择R5RS后,单击显示详细信息
并取消选中不允许重新定义初始绑定
。 p>
中的文本使用了错误
函数,这在R5RS中不可用。在这些情况下,您可以使用。
另一种选择是简单地使用scheme模块语言。选择Module作为您选择的语言,并使用 #lang scheme
或 #lang scheme / base
开始源文件。 。
对于您可以尝试(我自己没有尝试过,所以我不知道它的工作效果如何)。
I have been using the Module for SICP in DrScheme 4.2 but which language has the best support for SICP in DrScheme?
Has anyone here tried this?
Thanks.
I don't think you need anything but R5RS which is available in DrScheme via Language > Choose Language...
.
You might want to allow redefinition of bindings. After you have selected R5RS, click on "Show Details
" and uncheck "Disallow redefinition of initial bindings
".
Some places in the text uses an error
function, which is not available in R5RS. In these cases you can use srfi-23.
Another option is to simply use the "scheme" module language. Select "Module" as your language of choice and start your source files with #lang scheme
or #lang scheme/base
.
For the chapter "Example: A Picture Language" you can try this package (I have not tried it myself, so I don't know how well it works).
这篇关于DrScheme中针对SICP的哪种语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!