Structure and Interpretation of Computer Programs

Class length: 13 weeks. Start anytime.

Creator: kday

Status: Established

Useful advice for those using DrScheme

I have been working through the exercises in the book using DrScheme and was running into problems with the different versions of the language - each one is incompatible in different ways.

I discovered that someone made a specific SICP language add-on for DrScheme. To use it, open a new DrScheme instance and in the definitions window type: #lang planet neil/sicp

Run this and it will download and install the SICP package. Restart DrScheme and then go to the switch language window and you will see a new "SICP" language available. This should make doing the exercises a lot easier since you don't have to keep running into the quirks of the different languages.

SomeIrishGuy
5 months ago

Reply

More information is available here:

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

SomeIrishGuy
5 months ago

Reply

I have found pretty good luck using R5RS. I'll give this a shot if next time I run into an issue though.

dtmetz
5 months ago

Reply

Some of the problems I had are:
It cannot redefine the "built-in" procedures. So if you try to define a procedure called "apply", you will get errors. You can override this in the language options however.
It doesn't seem to support the "error" procedure. I am sure something similar is in there, I just don't know its name.
The problem I had with the "Module" scheme was that cons produces immutable pairs, and you need to use special procedures to create/mutate mutable pairs.

None of these issues are too difficult to work around, it's just nice when your environment matches the text you are working from.

I think that this also supports the "picture language" from chapter 1, though I haven't tried that out.

SomeIrishGuy
5 months ago

Reply

* Markdown Cheatsheet:

Link:
[clickable text](http://www.example.com)

New Paragraph:
Hit enter twice

Main heading:
# Main Heading Text

Sub-heading:
## Sub-heading Text

List:
* item 1
* item 2
* item 3

Italics:
*italicized text*

Bold:
**bold text**

YouTube:
URL (http://www.youtube.com/watch?v=Ui4AYPcRkYE) turns into embed code

Full Markdown reference

Recent Class Activity

bhrgunatha submitted Lesson 7 HW 1
2 weeks ago
bhrgunatha submitted Lesson 6 HW 1
2 weeks ago
kday commented on bhrgunatha's homework
3 weeks ago
bhrgunatha submitted Lesson 5 HW 1
3 weeks ago
lmarburger commented on meowzero's homework
3 weeks ago
lmarburger submitted Lesson 1 HW 1
3 weeks ago
bhrgunatha submitted Lesson 4 HW 1
1 month ago
bhrgunatha commented on bhrgunatha's homework
1 month ago

Class Members (747)

ycactus
Joined 8 hours ago
jamie_m
Joined 1 day ago
yourhcproviderrr
Joined 1 day ago
marrick66
Joined 4 days ago
kilomangaress
Joined 4 days ago
Jalkblapespab
Joined 5 days ago
Impormaalully
Joined 1 week ago
jensenallenv
Joined 1 week ago

All members


License

Attribution Non-Commercial Share Alike