[Tutor] Re: Syntax Check
Chad Crabtree
flaxeater at yahoo.com
Fri Jan 28 07:45:19 CET 2005
I'm going to look more in to import hooks. I am only looking for
syntactic sugar, at least at this point. It's not really my ambition
to
make more efficient code.
To Ryan. I looked at COG before (not in this case but general
looking
at python packages) it doesn't really do what I was thinking, but I
can
see how it would be very useful for it's problem domain of code
generation for other languages.
Javier Ruere wrote:
> Yes. To add new stuff to the language you would have to work at
the
>interpreter level. Probably you can avoid going too deep using
import
>hooks, as it has already been suggested, to modify what's being
imported
>on the fly.
> I believe it could work like Psyco if the preprocessor installed
the
>import hooks when imported.
> Are you interested only in the syntactic sugar or you plan to
generate
>more efficient code?
>
>
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
More information about the Tutor
mailing list