[LLVMdev] writing llvm ir not in c++

Dave Pitsbawn dpitsbawn at gmail.com
Mon Oct 13 10:59:07 PDT 2014


Got it. That's much better than C++!

I think you answered my question by pointing to llvmpy about the opcode
part.

On Mon, Oct 13, 2014 at 10:44 AM, Eli Bendersky <eliben at google.com> wrote:

>
>
> On Mon, Oct 13, 2014 at 10:35 AM, Dave Pitsbawn <dpitsbawn at gmail.com>
> wrote:
>
>> Is it possible to write LLVM IR but not using C++?
>>
>> I'm exceedingly terrible at C++.
>>
>> I was thinking, isn't it possible to write the IR using Java?
>>
>
>
> You can use llvmpy (Python bindings to LLVM) to create LLVM IR modules, if
> you'd like. [http://www.llvmpy.org/]
>
>
>
>> I effectively have emit some sort of binary op codes to be passed into
>> llvm right?
>>
>>
> Not sure what you're asking here, can you clarify?
>
> Eli
>
>
>
>
>> The same thing for if I wanted to integrate a GC? Could the interfacing
>> be done in any other language?
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141013/1e875197/attachment.html>


More information about the llvm-dev mailing list