]> git.rkrishnan.org Git - sicp.git/blob - README
added example usage for pictlang
[sicp.git] / README
1 This is the repository for SICP examples, exercises and problem sets. To
2 use these programs, add the parent directory of this repo to your classpath.
3
4 See: <http://www.zerobeat.in/2010/03/14/sicp-study/>
5 for background and other information.
6
7 * A note on section 2.2.4
8
9 2.2.4 describes Henderson's picture language. I have implemented this as a
10 separate namespace. under the 'pictlang' directory. To use this, load the
11 namespaces and do:
12
13 > (show painter frame)
14
15 where painter is the procedure representing the picture and frame is the
16 frame on which you want to draw it. An example is the 'wave' painter
17 defined in the pictlang.pictures namespace.
18
19 > (show wave (make-frame (make-vect 0 0)
20                          (make-vect 1 0)
21                          (make-vect 0 1)))
22
23 The implementation was directly inspired and influenced by the one in the
24 JVM based Scheme implementation called JAKLD.