Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.78 KB

readme.md

File metadata and controls

43 lines (32 loc) · 1.78 KB

sicp

These are my solutions to the exercises in Structure and Interpretation of Computer Programs by Harold Abelson and Gerald Jay Sussman with Julie Sussman.

Directories are laid out by chapter (ch1, ch2, etc.)

I have not reproduced the exercises themselves here, you'll need to find a copy of the cook itself to understand what the exercises are asking. This was intentional, even though the book is licensed under the Creative Commons.

If you're reviewing these and find a mistake, feel free to submit an issue or pull request.

Running the Code

macOS

  1. Install XCode via the App Store
  2. Install Racket brew install racket
  3. Install racket-mode for Emacs via MELPA
  4. Install emacs-ob-racket for Org mode execution of files
  5. Open the exercise file you want to run, and type C-c C-c to eval the exercise in a Racket REPL

Why did you do this?

I have read sicp a number of times (once from cover-to-cover, and countless times in a more ad-hoc fashion), yet I feel like I've never truly internalized the lessons from this excellent book. I've never tried to complete the exercises beyond some basic thinking and theory-coding. The exercises are published in the book for a reason, and eventually I realized I was missing out on most of the value by skipping over them.

Completeness

I'm still working my way through the book systematically, so this repository is a work in progress. Don't judge me for not finishing in a timely manner. I'm doing this in my spare time, in between starting companies and being a full-time engineer and entrepreneur.