<div dir="ltr">Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 10:49 AM, Marcello Maggioni <span dir="ltr"><<a href="mailto:hayarms@gmail.com" target="_blank">hayarms@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You can write LLVM IR by hand as far as that is concerned ...<div><br></div><div>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.</div><div>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.</div><div><br></div><div>I know that Dragonegg supports Go and not so complex java programs</div><div><br></div><div>Marcello</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-13 10:35 GMT-07:00 Dave Pitsbawn <span dir="ltr"><<a href="mailto:dpitsbawn@gmail.com" target="_blank">dpitsbawn@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div class="h5"><div dir="ltr"><div>Is it possible to write LLVM IR but not using C++?</div><div><br></div><div>I'm exceedingly terrible at C++.</div><div><br></div><div>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?</div><div><br></div><div>The same thing for if I wanted to integrate a GC? Could the interfacing be done in any other language?</div></div>
<br></div></div><span>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>