[Cython] Done with prototype for "parse tree transforms"
Dag Sverre Seljebotn
dagss at student.matnat.uio.no
Fri Mar 7 21:08:00 CET 2008
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
--
Dag Sverre
More information about the Cython-dev
mailing list