Displaying 2 results from an estimated 2 matches for "next_el".
Did you mean:
nextel
2008 May 10
0
[LLVMdev] Python bindings available.
...parent). The basic operations for forward iteration are
Parent.begin and Element.succ, which were implemented like this:
Parent.begin =
if this.first_element is null
return At_end this
else
return Before this.first_element
Element.succ =
if this.next_element is null
return At_end this.parent
else
return Before this.next_element
Then the user could build many IR navigation algorithms. The simplest
one, "for each", is thus:
for_elements(parent, callback) =
pos = parent.begin
loop
mat...
2008 May 10
4
[LLVMdev] Python bindings available.
Hi all,
I'd like to announce the availability of Python bindings for LLVM.
It is built over llvm-c, and currently exposes enough APIs to build an
in-memory IR (and dump it!). It needs LLVM 2.3 latest and Python 2.5
(2.4 should be sufficient, but I haven't tested). Tested only on
Linux/i386.
Would love to hear your comments.
[Needless to say, it's all work in progress, but mostly it