[LLVMdev] writing llvm ir not in c++

Dave Pitsbawn dpitsbawn at gmail.com
Mon Oct 13 11:00:20 PDT 2014


Thanks!

On Mon, Oct 13, 2014 at 10:49 AM, Marcello Maggioni <hayarms at gmail.com>
wrote:

> You can write LLVM IR by hand as far as that is concerned ...
>
> If you mean generating IR automatically from a program written in some
> language you need to use a compiler frontend based on LLVM and emit IR
> instead of going further with the compilation.
> Most of the frontends for LLVM target C like languages, but with Dragonegg
> you could use some of the GCC frontends to start from something else.
>
> I know that Dragonegg supports Go and not so complex java programs
>
> Marcello
>
> 2014-10-13 10:35 GMT-07:00 Dave Pitsbawn <dpitsbawn at gmail.com>:
>
>> 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? I
>> effectively have emit some sort of binary op codes to be passed into llvm
>> right?
>>
>> 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/4ee3c913/attachment.html>


More information about the llvm-dev mailing list