[toronto-lisp] SPITE: S-expression Python Is Truly Extendible

Rudolf omouse at gmail.com
Mon Feb 18 20:08:29 UTC 2008


That's the name of project Gary (senior lecturer at U of T) was
talking about at the last meet up.

Here's a sample of it:
http://www.cs.toronto.edu/~gfb/projects/richer-language-extension/spite.scm

It can turn:

(= the_world_is_flat 1)
(if the_world_is_flat
    ((print "Be careful not to fall off!")))

into:

the_world_is_flat = 1
if the_world_is_flat :
    print "Be careful not to fall off!"

That's just a quick and dirty sample apparently. It will be
interesting to see a lengthier example whenever that's posted up.

-Rudolf



More information about the toronto-lisp mailing list