[Cython] Done with prototype for "parse tree transforms"
Martin C. Martin
martin at martincmartin.com
Sat Mar 8 17:09:01 CET 2008
Great!
How does it compare to Lisp's macros?
Best,
Martin
Dag Sverre Seljebotn wrote:
> During my work to investigate how NumPy, C++ template etc. support could
> best be added I discovered a way of integrating such code that has very
> low impact on changing existing code and flow, yet does (I believe) have
> the capacity to give quite powerful results.
>
> I've made a prototype:
> - A framework in a 300 line diff
> - An example using the framework: A reimplementation of the good old
> for i in range(x, y) => for i from i <= ... transform, in 40 lines
>
> The whole thing and a long description is here:
>
> http://wiki.cython.org/enhancements/parsetreetransforms
>
>
More information about the Cython-dev
mailing list