<div dir="ltr">Thanks. So, in this tutorial, the LLVM IR generation code is embedded in the parser. I already have an AST, and if I dont want to touch the parser code, is there a way to generate the IR? or do I just walk the tree and generate the iR?<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 3:36 PM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@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"><div><div class="h5">On Wed, Aug 14, 2013 at 12:31 PM, emily thomas <span dir="ltr"><<a href="mailto:emilythomas007@gmail.com" target="_blank">emilythomas007@gmail.com</a>></span> wrote:<br>
</div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,<br>I am a complete newbie to LLVM. I have an ANTLR parser, that outputs an AST. I want to comvert this AST to a LLVM IR,  Can someone point me some relevant documentation/examples/ etc. on how to go about doing this?<br>


</div>TIA.<br> </div></blockquote><div> </div></div></div><div><a href="http://llvm.org/docs/tutorial/LangImpl3.html" target="_blank">http://llvm.org/docs/tutorial/LangImpl3.html</a></div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>-Eli </div></font></span></div><br></div></div>
</blockquote></div><br></div>