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:
Juthatip McDevitt 2025-07-26 11:55:46 -05:00
parent 3ac200ec79
commit a6988e484d
2 changed files with 14 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,2 @@
#lang sicp
(+ 5 5)