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".
Someplacesin 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.
This package implements support in PLT’s DrRacket for Abelson and Sussman’s Structure and Interpretation of Computer Programs (SICP) 2nd Edition textbook, for students who wish to use DrRacket’s tools for the SICP programming assignments.
发布评论
评论(3)
我认为除了 R5RS 之外你不需要任何东西,可以通过 <代码>语言> 选择语言...。
您可能希望允许重新定义绑定。 选择 R5RS 后,单击“
显示详细信息
”并取消选中“禁止重新定义初始绑定
”。一些 地点 在文本中使用
error
功能,R5RS 中没有此功能。 在这些情况下,您可以使用 srfi-23。另一种选择是简单地使用“scheme”模块语言。 选择“模块”作为您选择的语言,并使用
#lang schema
或#lang schema/base
启动源文件。对于章节“示例:A图片语言”你可以试试这个包 (我自己没有尝试过,所以不知道效果如何)。
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).
http://www.neilvandyke.org/racket-sicp/
http://www.neilvandyke.org/racket-sicp/
我在 SICP 中处于完全相同的位置,并且使用“编程语言要点”作为语言。 目前还没有造成任何问题。
I am at the exact same place in SICP, and am using - 'Essentials of Programming Languages' as the language. It has not caused any problems yet.