Added a test racket file and basic instructions in the README to get setup with racket with SICP language pack
This commit is contained in:
parent
3ac200ec79
commit
a6988e484d
2 changed files with 14 additions and 1 deletions
13
README.md
13
README.md
|
@ -1,3 +1,14 @@
|
|||
# sicp_examples
|
||||
|
||||
This repository will store the example exercises from the book Structures and Interpretations of Computer Programs as I work through while reading the book. https://web.mit.edu/6.001/6.037/sicp.pdf
|
||||
This repository will store the example exercises from the book Structures and Interpretations of Computer Programs as I work through while reading the book. https://web.mit.edu/6.001/6.037/sicp.pdf
|
||||
|
||||
# Usage:
|
||||
You want to ensure you have racket installed to run the examples in these excercises with the sicp language pack installed.
|
||||
```
|
||||
# Install SICP language packet through the package manager
|
||||
raco pkg install sicp
|
||||
|
||||
# Ensure you can run the test example (output should be 10)
|
||||
racket test_racket.rkt
|
||||
10
|
||||
```
|
||||
|
|
2
test_racket.rkt
Normal file
2
test_racket.rkt
Normal file
|
@ -0,0 +1,2 @@
|
|||
#lang sicp
|
||||
(+ 5 5)
|
Loading…
Add table
Reference in a new issue