[pypy-dev] C interpreter written in Python, and running CPython on top of PyPy

Timothy Baldridge tbaldridge at gmail.com
Fri Jan 6 22:26:09 CET 2012


> OK ... I know the restrictions of TCC. Just an off topic question:  is there> a comparable library interface for gcc or other C compilers ?


You might look into clang(llvm)'s bindings. I know tons of people are
hooking into that these days. For isntance, the people working on the
Qt IDE use clang for source-code analysis. Pretty much the entire
project is divided up into smaller libraries. Plus you also get a
pretty mature C++ parser/compiler. I've been told writing a proper C++
parser is a good way to age prematurely.

Timothy


More information about the pypy-dev mailing list