Python syntax in Lisp and Scheme

Terry Reedy tjreedy at udel.edu
Sun Oct 12 17:15:17 EDT 2003


"Peter Seibel" <peter at javamonkey.com> wrote in message
news:m3vfqugxo2.fsf at javamonkey.com...
...

> Python's eval--as I understand it--handles this differently. Common
> Lisp's EVAL may be the way it is partially because it is not needed
> for things like this given the existence of macros. There's are also
> some semantic difficulties of what lexical environment the EVAL
should
> occur in.

Now that you mention it, it seems sensible that a concept like 'eval
expression' might have slight but significantly different
implementations in different environments with different name-space
systems and different alternatives for doing similar jobs.  Thanks for
the answer.

Terry J. Reedy








More information about the Python-list mailing list