Macro expansion: intercept statement interpretation

Caleb Hattingh caleb1 at telkomsa.net
Wed Aug 25 22:51:54 EDT 2004


On Wed, 25 Aug 2004 00:07:22 +0200, Benjamin Niemann <pink at odahoda.de>  
wrote:

> ...
> If this actually works, a nice application could be rapid prototyping of  
> syntax extensions to python ('import this module and you can test and  
> see why my decorator syntax is better than yours' ;)

Well spotted! I didn't think of that.  The ongoing decorator thread could  
have had some real-world testing being done.  Also, the kind of macro  
expansion I want to play around could avoid the need for decorators to be  
added to the language in the first place...



More information about the Python-list mailing list