Hi,

I will be creating a repository for this: https://bitbucket.org/tkadm30/cffi-libclang

The goal is to generate a AST object from a C header by preprocessing with clang -E then compile the python bindings with CFFI...

ffi.cdef(open('uwsgi.h').read()) # <-- XXX need to modify internal parsing code to use clang.cindex!

ffi.dlopen('/usr/local/lib/libuwsgi.so')


Right now the parsing of the C source file is done by pycparser, but i would like to use the clang.cindex module.

What do you think?

Etienne


--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to