My notes and exercise soluations for SICP.
Download the 2nd Edition of SICP, there are many other edition, including a JavaScript edition, but the most recommended one is the original one, which adopted Scheme(a dialect of Lisp) as the programming language, download from here.
- Install and setup
Scheme
language environment on Mac OS
brew install mit-scheme
- Get you IDE ready
My choice of editor is Visual Studio Code.
Then install vscode-scheme
extension, you will get snippets support and language highlighting.
- Run
Scheme
code
To start a interactive REPL (Read-Evaluate-Print Loop):
scheme
To execute a Scheme
file, first save the file as .scm
extension, then execute:
scheme < ./index.scm
Try to solve all exercises listed in the book, you can reference my solutions from this repo.