[LLVMdev] writing llvm ir not in c++
hayarms at gmail.com
Mon Oct 13 10:49:17 PDT 2014
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
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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev