SWIG + expy

Stefan Behnel stefan_ml at behnel.de
Tue Apr 27 03:57:58 EDT 2010


Yingjie Lan, 27.04.2010 08:30:
> Is it possible to use SWIG to parse C/C++, and provide an interface for
> me to generate some code? I thought it might be good to have SWIG help
> generate expy files, then generate the python extension via expy.

There have been similar discussions on the Cython mailing list (you might 
want to search the archives). The main theme seems to be that clang 
provides a suitable parser, and several people have used it to write up a 
code generator for their specific needs (you might want to look at those).

Stefan




More information about the Python-list mailing list