Skip to content

YinanZhaoXometry/sicp-exercise-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SICP exercise solutions and notes

My notes and exercise soluations for SICP.

Get the book

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.

Setting-up development environment

  1. Install and setup Scheme language environment on Mac OS
brew install mit-scheme
  1. 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.

  1. 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

Solve the exercises

Try to solve all exercises listed in the book, you can reference my solutions from this repo.

My notes

About

My notes and exercise soluations for SICP

Resources

License

Stars

Watchers

Forks

Languages