[LLVMdev] C interface
gordonhenriksen at mac.com
Fri Sep 14 06:24:22 CDT 2007
On 2007-09-13, at 23:35, Erick Tryzelaar wrote:
> Gordon Henriksen wrote:
>> I'm authoring a C interface to the LLVM IR type system. I've
>> attached the header, where I've mapped a portion of Module and
>> most of Type and its subclasses. This is working, and I've built
>> ocaml bindings on top of it.
> I'm part of the felix dev team, and I've been interested in making
> a backend for felix in llvm. It's very exciting to hear that you're
> making an ocaml interface to llvm.
> Do you have any of the libraries exposed to the public yet?
I've not published it since I haven't yet wrapped enough of the API
to do anything useful. The snippet included every function I had
mapped at the time I sent the message! Stay tuned.
> Also, what license do you plan on using for the code? Felix is bsd,
> like llvm, so if there's any chance that you'll use a bsd-
> compatible license, we'd be very thankful.
My intent is to contribute this work to the LLVM project, so you
won't have any licensing problems. In fact, I've simply integrated
the ocaml bindings into LLVM's source tree so that they are built and
installed if configure can find ocamlc.
More information about the LLVMdev