What is the best implementation of the Scheme to work through SICP?

I used PLT Scheme , but it has some problems. Does anyone know of a better implementation to work through SICP?

+59
lisp scheme sicp
Nov 04 '08 at 2:52
source share
8 answers

Use the MIT Scheme .

It is recommended by the authors of SICP and is used at MIT for course 6.001: Structure and interpretation of computer programs .

+52
Nov 04 '08 at 2:58
source share

Use Racket (formerly PLT).

The DrRacket IDE is a great starting point for all schemes, including SICP.

To find keywords in the documentation, place the cursor on the keyword and press F1 . In DrRacket you can see images directly in REPL (read-eval-print loop).

SICP support for DrRacket , Neil van Dyke.

Update: The new SICP package is located at http://pkgs.racket-lang.org/#[sicp] Download it using the package manager (in DrRacket) or use raco . Manual

Update2: Also, if you want to try a new implementation of the SICP image language, download sicp-pict2.rkt .

+74
Nov 04 '08 at 18:43
source share

MIT / GNU scheme , just make sure you download the SICP compatibility package (yes, they provide specific libraries to improve SICP performance).

+11
Nov 04 '08 at 3:03
source share

I just started doing SICP this week.

MIT Scheme is currently broken in Ubuntu Linux (9.04 "jaunty"). It may work in the future.

DrScheme works and works well. You can use the above package or the Neil Van Dyke package, which is based on the soegard package and is available from http://www.neilvandyke.org/sicp-plt/ . The best part about this package is that during installation you can select the menu item Language | Choose Language .... to select SICP.

+6
Jun 30 '09 at 3:52
source share

It was surprisingly annoying to do it on macOS. Here's how it works today if you have a Homebrew. (You may need to run brew update from time to time).

 brew cask install racket raco setup # might be optional raco pkg install sicp 

Now you can (require sicp) or just run

 racket -l sicp --repl 

What you can shorten to scheme . In bash, which will be

 alias scheme='racket -l sicp --repl' 

which you can add to your ~/.bashrc

+3
Nov 12 '16 at 10:26
source share

The PLT scheme works very well, or the MIT scheme as suggested by Keparo. What are your problems with this?

+1
Nov 04 '08 at 3:03
source share

CHICKEN Scheme has a sicp library that provides support for SICP. You can install it by running chicken-install sicp and writing this at the beginning of the source code: (use sicp) .

+1
Aug 18 '16 at 18:08
source share

Now I work through SICP using Chez Scheme . This is a rather old dialect of the Scheme, so apparently it is not too far from what was written in SICP.

Note that the Chez Scheme project page links the Windows binary to a source that can be built on Unix-like platforms. But if you're on a Mac, you'll probably want to do

 brew chezscheme man chez 

Assuming you have homegrown what you really need.

Why not a MIT Scheme? Since the interactive interface is Edwin, an editor that uses EMACS conventions. (This is currently the real EMACS mode used in the Scheme before.) I used to know the basic EMACS, but my skills were atrophied due to non-use, which tells me that retraining this editor is simply not worth it.

Why not DrRacket? If I saw the cooking instructions @ frederick-squid, I would try. Instead, I tried to follow the official instructions for circuit and sicp, which are seriously outdated. Then I tried to get the IDE to go into schema mode, which seems intuitive, but it is not.

Just too much trouble. And I'm not sure I want to get into the design of the IDE with a fantastic language, especially one whose poor support for Scheme caused an original question.

0
Dec 27 '17 at 23:50
source share



All Articles