<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 2:16 AM, Ambuj Agrawal <span dir="ltr"><<a href="mailto:ambujbwt@gmail.com" target="_blank">ambujbwt@gmail.com</a>></span> wrote:<br><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>I am trying to add a new language to integrate with LLVM 3.6 Framework. I have followed a tutorial on - Kaleidoscope: Implementing a Language with LLVM but it dosen't explain anything on how to integrate a language with LLVM make build system. I have also gone through LLVMBuild Guide (<a href="http://llvm.org/docs/LLVMBuild.html" target="_blank">http://llvm.org/docs/LLVMBuild.html</a>) but am still stuck.<br><br></div>My short term goals are to create a language/tool which takes an input file with ".bwt" file extensionand produces an output file with ".owt" file extension
<div><div><div><div><br></div><div>Stacker project in LLVM is the closest to what I want to achieve but has long been removed from LLVM framework.<br><br></div><div>Any tutorials or simiar LLVM projects which might help me with my short term goals?<br></div><div><br></div><div>Thanks,<br></div><div>Ambuj<br>
</div></div></div></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">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></blockquote></div><br><br></div><div class="gmail_extra">In page :<br></div><div class="gmail_extra"><br><a href="http://en.wikipedia.org/wiki/LLVM">http://en.wikipedia.org/wiki/LLVM</a><br><br><br></div><div class="gmail_extra">see<br><br>"Front ends: programming language support"<br><br><br></div><div class="gmail_extra">You may study how front end languages are built with LLVM .<br><br><br></div><div class="gmail_extra">One important example is CLang itself :<br><br><br></div><div class="gmail_extra">If you add a copy of CLang build statements replaced by your language name with other required modifications into CLang build system , and created directories parallel to Clang , I think you may obtain what you want .<br><br><br></div><div class="gmail_extra">Thank you very much .<br><br><br></div><div class="gmail_extra">Mehmet Erol Sanliturk<br><br><br><br></div><div class="gmail_extra"><br><br><br></div><div class="gmail_extra"><br><br><br></div></div>