https://github.com/zubivan/sicp
Reading SICP and working on exercises coming with the book
https://github.com/zubivan/sicp
Last synced: 6 months ago
JSON representation
Reading SICP and working on exercises coming with the book
- Host: GitHub
- URL: https://github.com/zubivan/sicp
- Owner: zubivan
- License: mit
- Created: 2019-04-21T18:55:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T19:15:25.000Z (about 7 years ago)
- Last Synced: 2025-01-23T14:52:50.652Z (over 1 year ago)
- Language: Racket
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
Personal repo to go through SICP book.
Book from MIT EDU:
https://web.mit.edu/alexmv/6.037/sicp.pdf
Using Racket dialect of LISP instead of Scheme. See
https://racket-lang.org/ for more details.
## MacOS setup
> Assuming existance of brew.
Racket REPL
```sh
brew install racket
```
SICP language for Racket
> https://docs.racket-lang.org/sicp-manual
```sh
raco pkg install sicp
```
VSCode as an IDE, either go to
> https://code.visualstudio.com/docs/setup/mac
```sh
brew cask install visual-studio-code
```
## Racket REPL
As you coupld have guessed it's just
```sh
racket
```
Go wild from here :rocket:
### Some useful commands
Getting out of Racket REPL
```sh
(exit)
```
Running racket file
```sh
racket hello_world.rkt
```
Running racket file and staying in interactive mode
```sh
racket -it hello_world.rkt
```