]> git.rkrishnan.org Git - sicp.git/blob - README
added a note on start-picture
[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 > (start-picture)
14 > (show painter frame)
15
16 where painter is the procedure representing the picture and frame is the
17 frame on which you want to draw it. An example is the 'wave' painter
18 defined in the pictlang.pictures namespace.
19
20 > (show wave (make-frame (make-vect 0 0)
21                          (make-vect 1 0)
22                          (make-vect 0 1)))
23
24 The implementation was directly inspired and influenced by the one in the
25 JVM based Scheme implementation called JAKLD.