"Structure and Interpretation of Computer Programs" in Python?

Ronald Legere legere at ll.mit.edu
Mon Jun 16 21:18:59 CEST 2003


Hmm, interesting. For most things in the early chapters, I think  you could
do it, with python >= 2.2 of course for the nested scopes.  There is perhaps
some
concern about lambda, in that in python lambda is a bit restricted, but I
think you can work around that. I may have to try a few of the more
interesting
examples....
After all,   SICP doesn't use macros or continuations, so I think it should
be possible.
If you get any direct replies of someone doing this, let me know.

Cheers,
   Ron

"Peter Olsen" <pcolsen at comcast.net> wrote in message
news:a86143fb.0306160718.75cd6216 at posting.google.com...
> Has anyone translated some of the programs in Abelson and Sussman's
> "Structure and Interpretation of Computer Programs" from Scheme into
> Python.
>
> Python has replace Scheme as my favorite language, but I doubt that
> anything will ever replace SICP as my favorite CS book.  I'd like to
> see the two melded, but probably I will ever have the time to do it
> myself.
>
> (If you respond, please send a copy to me directly.  Thanks!)
>
> Peter Olsen
> pcolsen (at) comcast (dot) net
>
> Engineering is the art of using a professional knowledge of
> mathematics and the physical sciences to improve the quality of life.






More information about the Python-list mailing list