llvm-py
Python Bindings for LLVM
»Home
»Examples
»Download
»User Guide
»Contribute
»License
»About

llvm-py provides Python bindings for LLVM. It's goal is to expose enough of LLVM APIs to implement a compiler backend or a VM in pure Python. llvm-py consists of Python and C modules that wrap over the native C++/C bindings of LLVM, and does not use / have dependencies on "glue utilities" like Boost.Python, swig etc.

llvm-py is just hatching. It should be stable enough to start hacking away, though. Be sure to send in a patch if you miss any specific LLVM API.

Availability: llvm-py is available (as a source package) for LLVM 2.4 and Python 2.5. It has been built and tested on Linux and FreeBSD (x86 and amd64).

News

22-Nov-2008

0.5 released. For LLVM 2.4.

21-Nov-2008

0.4 released. Bug fixes, few additional APIs, code cleanup.

8-Sep-2008

0.3 released. Passes, intrinsics, bitcode, assembly!

18-Jun-2008

0.2.1 released. Builds cleanly with LLVM 2.3 and 2.3+svn.

15-Jun-2008

0.2 released. Lots of cleanup, new website, more documentation.

20-May-2008

0.1 released.