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
Find a file
Paul Sokolovsky d36cd1dbc7 Add docstring documentation to all llvm.core classes.
Some classes have docstrings, and lack rST docs (e.g. Module), few others
vice versa. It's unclear what is the best way to deal with this. IMHO,
docstrings should prevail, i.e. existing docs would rather be moved
to docstings. Anyway, for now just make sure that users don't miss
documentation, even if it's just list of classmembers.
2013-02-24 00:44:48 +02:00
docs Add docstring documentation to all llvm.core classes. 2013-02-24 00:44:48 +02:00
llpython cleanup 2013-01-31 17:54:20 -06:00
llvm Add error checking for common mistake in Builder.call 2013-02-19 10:54:31 -06:00
llvm_cbuilder Allow casting pointers to ints in cbuilder 2013-02-19 15:25:10 +00:00
test cleanup 2013-01-31 17:54:20 -06:00
tools add NVPTX for LLVM 3.2; 2012-08-18 15:29:26 -07:00
www cleanup 2013-01-31 17:54:20 -06:00
.gitattributes add missing llvm/_version.py 2013-02-01 16:04:58 -06:00
.gitignore add ignore llvm/_intrinsic_ids.py 2012-08-18 15:31:33 -07:00
CHANGELOG enable new llvm-config on Windows and update changelog 2013-02-16 14:29:43 -06:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
llvm-config-win32.py add missing dummy options 2013-02-17 16:37:57 -06:00
MANIFEST.in Issue #34 - Add tools to MANIFEST.in 2012-12-30 21:08:38 +00:00
README.rst Update README for LLVM 3.2. 2012-12-31 10:45:21 -06:00
README_LLVM_CBUILDER.md Add Stephen's llvm-cbuilder examples. 2012-12-17 14:12:48 -06:00
setup.py improve error handling 2013-02-16 01:34:51 -06:00
versioneer.py add versioneer 2013-02-01 15:55:12 -06:00

================================
llvmpy: Python bindings for LLVM
================================

Home page
---------

http://www.llvmpy.org

Versions
--------

This package has been tested with LLVM 3.1 and 3.2, Python 2.7 and Python 3.2.
Other Python versions should work.

Quickstart
----------

1. Get 3.1 or 3.2 version of LLVM, build it.  Make sure ``--enable-pic`` is 
   passed to LLVM's ``configure``.  
   
   For LLVM 3.2, make sure that environment variable ``REQUIRES_RTTI=1`` is 
   defined when running ``make``.  Otherwise, you may see "undefined symbol:
   _ZTIN4llvm24PassRegistrationListenerE".  Please refer to 
   http://llvm.org/docs/Packaging.html#c-features for details.

2. Get llvm-py and install it::

   $ git clone git@github.com:llvmpy/llvmpy.git
   $ cd llvmpy
   $ python setup.py install

   Run the tests::

   $ python -c "import llvm; llvm.test()"

3. See documentation at 'http://www.llvmpy.org' and examples
   under 'test'.

LICENSE
-------

llvmpy 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.