Macro expansion: intercept statement interpretation

Caleb Hattingh caleb1 at telkomsa.net
Thu Aug 26 04:51:54 CEST 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