Build cleanly with LLVM 2.3 or 2.3svn.
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@15 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
0a20bf7084
commit
9cc8fdc0cd
16 changed files with 96 additions and 58 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Download
|
||||
========
|
||||
|
||||
The latest release is 0.2, released xx-Jun-2008 (link:#changelog[Changelog]
|
||||
The latest release is 0.2.1, released 18-Jun-2008 (link:#changelog[Changelog]
|
||||
below).
|
||||
|
||||
Download it here:
|
||||
|
|
@ -10,6 +10,7 @@ Download it here:
|
|||
````~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Release,Date,Package,Mirror
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
0.2.1,18-Jun-2008,http://llvm-py.googlecode.com/files/llvm-py-0.2.1.tar.bz2[llvm-py-0.2.tar.bz2],link:llvm-py-0.2.tar.bz2[llvm-py-0.2.1.tar.bz2]
|
||||
0.2,15-Jun-2008,http://llvm-py.googlecode.com/files/llvm-py-0.2.tar.bz2[llvm-py-0.2.tar.bz2],link:llvm-py-0.2.tar.bz2[llvm-py-0.2.tar.bz2]
|
||||
0.1,20-May-2008,http://llvm-py.googlecode.com/files/llvm-py-0.1.tar.bz2[llvm-py-0.1.tar.bz2],link:llvm-py-0.1.tar.bz2[llvm-py-0.1.tar.bz2]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ llvm-py: Python Bindings for LLVM
|
|||
|
||||
llvm-py provides http://www.python.org/[Python] bindings for
|
||||
http://llvm.org/[LLVM]. It's goal is to expose enough of LLVM APIs to
|
||||
implement a compiler or VM in pure Python. Currently, llvm-py is
|
||||
implement a compiler backend or a VM in pure Python. Currently, llvm-py is
|
||||
available for LLVM 2.3 and Python 2.5, on Linux/x86. It is expected to
|
||||
be usable on various unices, as well as with Python 2.4, with minimal
|
||||
changes, if any.
|
||||
|
|
@ -15,6 +15,9 @@ miss any specific LLVM API.
|
|||
News
|
||||
----
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
|||
|
|
@ -879,9 +879,9 @@ Constants (llvm.core)
|
|||
|
||||
`Constant`-s represents constants that appear within the code. The
|
||||
values of such objects are known at creation time. Constants can be
|
||||
created from Python constants. A constant expression is also a constant.
|
||||
Given a `Constant` object, an operation (like addition, subtraction etc)
|
||||
can be specified, to yield a new `Constant` object. Let's see some
|
||||
created from Python constants. A constant expression is also a constant
|
||||
-- given a `Constant` object, an operation (like addition, subtraction
|
||||
etc) can be specified, to yield a new `Constant` object. Let's see some
|
||||
examples:
|
||||
|
||||
[python]
|
||||
|
|
@ -897,11 +897,10 @@ tr = Type.float()
|
|||
|
||||
r1 = Constant.real(tr, "3.141592") # create from a string
|
||||
r2 = Constant.real(tr, 1.61803399) # create from a Python float
|
||||
|
||||
r3 = Constant.undef() # an `undefined' value
|
||||
source~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
|
||||
TypeHandle (llvm.core)
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue