Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects. www.llvmpy.org
  • HTML 50.2%
  • Python 42.3%
  • C++ 3.4%
  • LLVM 2.1%
  • CSS 0.8%
  • Other 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Siu Kwan Lam c68c5b0aac Continue to update test to use unittest.
Replace custom class strstream with StringIO.
2012-07-21 20:27:14 -07:00
llvm Fix: Object cache was removing objects properly. 2012-07-21 15:57:39 -07:00
test Continue to update test to use unittest. 2012-07-21 20:27:14 -07:00
tools Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
www Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
.gitignore Added Module.id property (getter+setter). 2012-07-20 20:15:21 -07:00
CHANGELOG Added llvm.core.Argument.alignment 2010-10-15 10:33:37 +00:00
LICENSE Updated documentation, partially. 2010-08-31 07:31:34 +00:00
MANIFEST.in Added MANIFEST.in 2008-06-15 03:48:09 +00:00
README.md Can has linebreaks? 2011-06-07 14:32:29 -05:00
setup-win32.py Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
setup.py REL: master now 0.8.2 2012-07-10 14:37:42 -05:00

llvm-py: Python Bindings for LLVM

llvm-py provides Python bindings for LLVM.

Home page

https://github.com/AndrewBC/llvm-py

Versions

This package has only been tested with LLVM 2.9, and Python 2.7, (not Python 3.x).

Quickstart

  1. Get 2.9 version of LLVM, build it. Make sure '--enable-pic' is passed to LLVM's 'configure'.
  2. Get llvm-py and install it:
$ git clone git@github.com:AndrewBC/llvm-py.git
$ cd llvm-py
$ python setup.py install
  1. See documentation at 'www/web/index.html' and examples under 'test'.

LICENSE

llvm-py is distributed under the new BSD license, which is similar to the LLVM license itself. See the file called LICENSE for the full license text.