Skip to content

Solving Structure and Interpretation of Computer Programs Lisp exercises in Scheme

License

Notifications You must be signed in to change notification settings

ravihlb/sicp-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Structure and Interpretations of Computer Programs - Exercises

This is me solving the SICP exercises. I'm using racket as the Lisp engine and coding the exercises along with assertions.

You can run them by using

racket sec1/*.lisp
racket sec*/*.lisp

Example:

❯ racket sec1/*.lisp
Exercise 1.1

Expected: 101283619#f416616
Result: 101283619#f416616
Passed!


Exercise 1.2

Expected: -37/150
Result: -37/150
Passed!

Exercises are distributed according to section number

Section 1 exercises are placed on the sec1 directory, so Section 2 will naturally reside on sec2.

Use racket to run the exercises as kind-of unit tests.

About

Solving Structure and Interpretation of Computer Programs Lisp exercises in Scheme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published