From a6988e484db2c0cc67f088d6c230e39f35274f37 Mon Sep 17 00:00:00 2001 From: Juthatip McDevitt Date: Sat, 26 Jul 2025 11:55:46 -0500 Subject: [PATCH] Added a test racket file and basic instructions in the README to get setup with racket with SICP language pack --- README.md | 13 ++++++++++++- test_racket.rkt | 2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 test_racket.rkt diff --git a/README.md b/README.md index 05f12cf..4ee2a6e 100644 --- a/README.md +++ b/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 \ No newline at end of file +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 +``` diff --git a/test_racket.rkt b/test_racket.rkt new file mode 100644 index 0000000..deaeb86 --- /dev/null +++ b/test_racket.rkt @@ -0,0 +1,2 @@ +#lang sicp +(+ 5 5) \ No newline at end of file