https://github.com/diredocks/sicp
🚀🧙♀️ my journey thorugh sicp
https://github.com/diredocks/sicp
Last synced: 5 months ago
JSON representation
🚀🧙♀️ my journey thorugh sicp
- Host: GitHub
- URL: https://github.com/diredocks/sicp
- Owner: diredocks
- Created: 2025-01-22T11:50:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-26T07:01:45.000Z (over 1 year ago)
- Last Synced: 2025-02-01T18:18:07.216Z (over 1 year ago)
- Language: Racket
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> In respect and admiration, to the spirit that lives in the computer.
Visit [Structure and Interpretation of Computer Programs](https://sarabander.github.io/sicp) to read the book online.
## Tips of using Racket to learn SICP
### Use the SICP Language Package
The SICP book uses the Scheme language. You can install the sicp package in Racket to ensure compatibility with SICP exercises. Install it with: `raco pkg install sicp`
### REPL with SICP Language
To use the sicp language in the REPL, start it with: `racket -I sicp`
### Run SICP Scripts
Create a file named `sicp-example.rkt`:
```scheme
#lang sicp
(inc 232)
```
Run the file using the command: `racket sicp-example.rkt`, output as:
```
233
```