On 5/26/05, Chad Whitacre <[EMAIL PROTECTED]> wrote:
> chad: Hmmm ... I don't follow python-dev closely but hasn't there been
> resistance to macros in Python? Are we saying macros may be a good idea
> after all?
>
> ?!ng: resistance -> Yes.
> ?!ng: good idea -> Not really. AST transformations ar
Thanks Jeremy. Also wandered off-list w/ Ka-Ping; posting here for
posterity.
chad
-
chad: BTW, how does the concept of AST transformations relate to the
concept of (Lisp) macros? Am I right to think that they are similar?
?!ng: Absolutely. In terms of mechanism, they're basically the s
On 5/26/05, Chad Whitacre <[EMAIL PROTECTED]> wrote:
> > Would there be any interest in extending the compiler package with tools
> > for AST transformations and for emitting Python source code from ASTs?
>
> Heh, so I guess the answer is "yes."
>
> BTW, how does the concept of AST transformation
> Would there be any interest in extending the compiler package with tools
> for AST transformations and for emitting Python source code from ASTs?
Heh, so I guess the answer is "yes."
BTW, how does the concept of AST transformations relate to the concept
of (Lisp) macros? Am I right to think th
> > On 5/24/05, Ka-Ping Yee <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Would there be any interest in extending the compiler package with
> >> tools
> >> for AST transformations and for emitting Python source code from
> >> ASTs?
the astng package from logilab's common library [1] extends compile