[LLVMdev] writing llvm ir not in c++ (original) (raw)
Marcello Maggioni hayarms at gmail.com
Mon Oct 13 10:49:17 PDT 2014
- Previous message: [LLVMdev] writing llvm ir not in c++
- Next message: [LLVMdev] writing llvm ir not in c++
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/c9c3d7b1/attachment.html>
- Previous message: [LLVMdev] writing llvm ir not in c++
- Next message: [LLVMdev] writing llvm ir not in c++
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]