Which language in DrScheme for SICP?

江枫思渺然 提交于 2019-12-18 11:51:52

问题


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.


回答1:


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).




回答2:


SICP Support for DrRacket

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.

http://www.neilvandyke.org/racket-sicp/




回答3:


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.



来源:https://stackoverflow.com/questions/939582/which-language-in-drscheme-for-sicp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!