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 > > _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
