Displaying 3 results from an estimated 3 matches for "dont_null_terminate".
2008 May 10
0
[LLVMdev] Python bindings available.
...eedless to say, it's all work in progress, but mostly it works as
> expected. More tests, documentation and APIs will follow.]
>
> It's all here: http://mdevan.nfshost.com/llvm-py.html
Hi Mahadevan,
Very nice! The OO syntax is pleasantly succinct. :)
> Constant.string(value, dont_null_terminate) -- value is a string
> Constant.struct(consts, packed) -- a struct, consts is a list of
> other constants, packed is boolean
I did this in Ocaml initially, but found the boolean constants pretty
confusing to read in code. I kept asking “What's that random true
doing there?” Theref...
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
2008 May 11
2
[LLVMdev] Python bindings available.
Hi Gordon,
Thanks for your comments.
> > Constant.string(value, dont_null_terminate) -- value is a string
> > Constant.struct(consts, packed) -- a struct, consts is a list of
> > other constants, packed is boolean
>
> I did this in Ocaml initially, but found the boolean constants pretty
> confusing to read in code. I kept asking "What's that rando...