It is easy implement at least the piece of Scheme
we've learned in SICP Ch 1.  I did the beginning of a REPL and it was amazingly
quick and easy to do so far.

I'll add lambda's and conses next but we haven't learned conses yet anyways.

You can my source in your browser at http://seberino.org/pyscheme .
You can get a tarball at http://seberino.org/pyscheme-0.2.tar.gz .

Observe me using it...

% python ./pyscheme
expression:
4
result:
4

expression:
(+ 2 5)
result:
7

expression:
(define pi 3)
result:
UNDEFINED

expression:
pi
result:
3

Comments welcome.

Chris

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to