[prev in list] [next in list] [prev in thread] [next in thread]
List: python-ideas
Subject: [Python-ideas] MacroPy Final Report, Request for Feedback
From: Haoyi Li <haoyi.sg () gmail ! com>
Date: 2013-05-17 1:20:41
Message-ID: CALruUQJB_sVHougg5f0jMwo56yUs3KsntjtXfkMXEeD65KhRNg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hey All,
I'd like to announce the release of MacroPy 0.1.7 (
https://github.com/lihaoyi/macropy). MacroPy is an implementation of
Syntactic Macros in the Python Programming Language, which we used to
implement a pretty impressive list of demo macros:
- Case Classes <https://github.com/lihaoyi/macropy#case-classes>, easy
Algebraic Data Types from Scala
- Pattern Matching
<https://github.com/lihaoyi/macropy#pattern-matching> from
the Functional Programming world
- Tail-call Optimization<https://github.com/lihaoyi/macropy#tail-call-optimization>
- String Interpolation<https://github.com/lihaoyi/macropy#string-interpolation>,
a common feature, and
Pyxl<https://github.com/lihaoyi/macropy#pyxl-integration>,
which is basically XML interpolation.
- Tracing <https://github.com/lihaoyi/macropy#tracing> and Smart
Asserts<https://github.com/lihaoyi/macropy#smart-asserts>,
from every programmer's wildest dreams.
- PINQ to SQLAlchemy<https://github.com/lihaoyi/macropy#pinq-to-sqlalchemy>,
a clone of LINQ to SQL from C#
- Quick Lambdas <https://github.com/lihaoyi/macropy#quick-lambdas> from
Scala and Groovy
- Parser Combinators<https://github.com/lihaoyi/macropy#parser-combinators>,
inspired by Scala's
- JS Snippets <https://github.com/lihaoyi/macropy#js-snippets>, cross
compiling snippets of Python into equivalent Javascript
Along with a really nice readme which serves both as a demonstration of the
capabilities of macros <https://github.com/lihaoyi/macropy#macropy>, and
also as an introduction to the macro-writing
process<https://github.com/lihaoyi/macropy#detailed-guide>
.
This is probably going to be the last release that bundles all these demos
together; future releases will begin properly breaking up the various
macros into their own projects, and nicely polishing the core
infrastructure into a solid foundation for others to build upon.
We think that this is a pretty cool project, and can serve as a easy way
for people to prototype modifications to the python language. We're looking
forward to your feedback and welcome contributions =)
-Haoyi
[Attachment #5 (text/html)]
<div dir="ltr">Hey All,<div><br></div><div>I'd like to announce the release of \
MacroPy 0.1.7 (<a href="https://github.com/lihaoyi/macropy">https://github.com/lihaoyi/macropy</a>). \
MacroPy is an implementation of Syntactic Macros in the Python Programming Language, \
which we used to implement a pretty impressive list of demo macros:</div>
<ul style="margin:15px 0px;padding:0px 0px 0px \
30px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:15px;line-height:25px"><li \
style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#case-classes" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Case \
Classes</a>, easy Algebraic Data Types from Scala</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#pattern-matching" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Pattern \
Matching</a> from the Functional Programming world</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#tail-call-optimization" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Tail-call \
Optimization</a></li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#string-interpolation" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">String \
Interpolation</a>, a common feature, and <a \
href="https://github.com/lihaoyi/macropy#pyxl-integration" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Pyxl</a>, \
which is basically XML interpolation.</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#tracing" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Tracing</a> \
and <a href="https://github.com/lihaoyi/macropy#smart-asserts" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Smart \
Asserts</a>, from every programmer's wildest dreams.</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#pinq-to-sqlalchemy" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">PINQ \
to SQLAlchemy</a>, a clone of LINQ to SQL from C#</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#quick-lambdas" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Quick \
Lambdas</a> from Scala and Groovy</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#parser-combinators" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">Parser \
Combinators</a>, inspired by Scala's</li>
<li style="margin:0px;padding:0px;border:0px"><a \
href="https://github.com/lihaoyi/macropy#js-snippets" \
style="margin:0px;padding:0px;border:0px;color:rgb(65,131,196);text-decoration:none">JS \
Snippets</a>, cross compiling snippets of Python into equivalent Javascript</li>
</ul><div style>Along with a really nice readme which serves both as a demonstration \
of <a href="https://github.com/lihaoyi/macropy#macropy">the capabilities of \
macros</a>, and also as an <a \
href="https://github.com/lihaoyi/macropy#detailed-guide">introduction to the \
macro-writing process</a>. </div>
<div style><br></div><div style>This is probably going to be the last release that \
bundles all these demos together; future releases will begin properly breaking up the \
various macros into their own projects, and nicely polishing the core infrastructure \
into a solid foundation for others to build upon.</div>
<div style><br></div><div style>We think that this is a pretty cool project, and can \
serve as a easy way for people to prototype modifications to the python language. \
We're looking forward to your feedback and welcome contributions =)</div>
<div style><br></div><div \
style>-Haoyi</div><div><br></div><div><br></div><div><br></div></div>
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic