[Python-ideas] Macros for Python
Yuval Greenfield
ubershmekel at gmail.com
Wed Apr 24 14:31:42 CEST 2013
On Wed, Apr 24, 2013 at 6:49 AM, Haoyi Li <haoyi.sg at gmail.com> wrote:
> you write a function that takes an AST and returns an AST, register it as
> a macro, and you're off to the races.
>
Insane and insanely brilliant. I'm not going to touch this until a lot of
smoke blows over.
> a clone of .NET's LINQ to SQL.
>
Sounds awesome.
This is completely uncharted territory for me. I'd love to hear how this
pans out in a year or so. Seems like it's very powerful and can help a lot
in shaping Python based Domain Specific Languages, but perhaps too powerful
to the point where it'll end up a horrific and complicated bug magnet.
Yuval Greenfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130424/b0224b92/attachment.html>
More information about the Python-ideas
mailing list