Well I am putting some tips to myself here...
Installing chicken in a Debian etch system
- Install the following packages
apt-get install gcc gcc-4.1 g++-4.1 libtool make
- Download
wget http://wiki.call-cc.org/dev-snapshots/2008/01/27/chicken-2.741.tar.gz
- Run
./configure --prefix=/usr/local/chicken-2.741 make make install cd /usr/local/bin/ for i in /usr/local/chicken-2.741/bin/*; do ln -s $i; done
Using Emacs to work with chicken
- Install quack. On a Debian system run apt-get install quack. Otherwise, go to http://www.cs.huji.ac.il/support/emacs/pllab.html
- Add to .emacs the following lines
(setq quack-default-program "csi") (require 'quack)
Some Books about Scheme
- The Scheme Programming Language http://www.scheme.com/tspl3/
- An Introduction to Scheme and its Implementation http://core.federated.com/~jim/schintro-v14/schintro_toc.html
- Teach Yourself Scheme in Fixnum Days http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html
- How to Design Programs http://www.htdp.org/
- Structure and Interpretation of Computer Programs http://mitpress.mit.edu/sicp/full-text/book/book.html
Chicken User's Manual
To access the manual from the REPL:
csi> (use man) csi> (man:load) csi> (man:search "regex") csi> (man:help 'something-that-exists)
Example:
#;1> (use man) #;2> (man:load) #;4> (man:search "case") #;5> (man:help 'case-lambda)