On 2009-08-25 16:50 PM, Chris Colbert wrote: > wait, scratch that idea, that would throw python syntax errors all > over the place.
You know, if anyone is really up for some fun, they could try to port Cython's grammar to be a modification of python4ply: http://www.dalkescientific.com/Python/python4ply.html One could write .pyx files in the restricted subset supported by the pure Python mode. pyximport could be changed to try to compile the .pyx file as Cython if possible. If a compiler is not available, or if the user has told pyximport to use pure Python mode, then it will just compile the file to Python bytecode as supported by python4ply. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
