Saturday, July 16, 2011

Cython backend aiming PyPy Update (16/07/11)

The Cython test suite now runs with the ctypes backend, however, the number of failures is very high (153 failures and 510 errors) and it only tests compilation (not correctness) so I am right now trying to reduce this number (it founds some bugs but most of the time, the error is caused by a node not handled by the CodeWriter).

Tuesday, July 5, 2011

Cython backend aiming PyPy Status

This has been a long time since I posted something but I still work actively on the backend, here is what happened since the last blog post :

  • I have integrated AnalyseDeclarationsTransform and AnalyseExpressionsTransform with the pipeline, this means that I can now get the type of declarations and expressions (like : this is a function call that returns an integer, this parameter is a float, this variable is a Python object)
  • It is now possible to have cdef'd variable inside functions (of basic C types, structures, pointers, arrays)
  • Manipulation of C numeric types (like mathematic operations) although this is not finished (like passing them as parameters of functions or returning them)

For this week, I plan to write tests for the features I've implemented the last weeks, and continue the manipulations of C numeric types (especially the manipulations listed above).