Stackless python and microthreads

Michele Simionato michele.simionato at poste.it
Sun May 16 00:35:44 EDT 2004


Michael Walter <cm at leetspeak.org> wrote in message news:<2gnhh0F4r098U1 at uni-berlin.de>...
> Ville Vainio wrote:
> >>>>>>"Michele" == Michele Simionato <michele.simionato at poste.it> writes:
> >     Michele> of learning Zope TAL/TALES/METAL, which I do not like
> >     Michele> that much; I would rather prefer to generate HTML pages
> >     Michele> with Lisp macros and use real s-expressions instead of
> >     Michele> XML/HTML, but I can't :-(
> > What would you do with macros? [..]
> Syntactic abstraction. I would love to see macros in Python (actually 
> working on some ideas for adding them to Python).

NO!! I am really talking about prefix notation: I am pro macros when 
you have prefix notations and s-expressions (i.e. HTML/XML), whereas
I am not advocating macros in Python, which has an infix notation.

There are macro systems based on pattern matching which can work with
infix notation (I hear Dylan has one), but I feel somewhat happier with 
Lisp-style macros where everything is a list.


     Michele Simionato



More information about the Python-list mailing list