Weird Language Features
Hannah Schroeter
hannah at schlund.de
Mon Feb 19 12:08:06 EST 2001
Hello!
[F'up]
In article <96q137$q3d$1 at nntp9.atl.mindspring.net>,
Eric Clayberg <clayberg at instantiations.com> wrote:
>[...]
[syntax changes through e.g. preprocessing]
>Smalltalk can also do the above very easily. Everything is Smalltalk is an
>object - including the parser, the compiler, the compiled methods and the
>method source. Setting up a pre-processor or modifying the actual parser is
>very easy to do. Since all of Smalltalk's control structures are built in
>Smalltalk itself, you can easily alias any function name or operator to
>another. Enhancing the "syntax" and adding your own control structures is
>also trivial.
Partly yes, but only partly. Access to parser/compiler innards isn't
standardized in any way, much less than Common Lisp's readtable and
macro facilities.
Of course, when it just comes to method names (selectors), it's
easy to modify/extend the standard classes.
>[...]
Kind regards,
Hannah.
More information about the Python-list
mailing list