<div dir="ltr"><div dir="ltr">Hello,</div><div dir="ltr"><br></div><div>It would be very helpful if in the learning process a few of your interested students update the OCaml Kaleidoscope. It is similar to the tutorial written in C++ but not updated from a long time. <br></div><div><br></div><div>Currently, It is not in the trunk of the LLVM mono repo but can be found in 11.0.0 here- <a href="https://releases.llvm.org/11.0.0/docs/tutorial/index.html#kaleidoscope-implementing-a-language-with-llvm-in-objective-caml" target="_blank">https://releases.llvm.org/11.0.0/docs/tutorial/index.html#kaleidoscope-implementing-a-language-with-llvm-in-objective-caml</a>.</div><div><br></div><div>They may have a good chance to learn LLVM IR, LLVM APIs, OCaml binding, writing test cases in LLVM IR using lit and filecheck, patch review process with Phabricator instance (<a href="https://reviews.llvm.org/">https://reviews.llvm.org/</a>), etc.<br></div><div><br></div><div>Best,</div><div>Shivam<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 22, 2021 at 4:53 PM Sudakshina Dutta via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:<br></div><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>Dear all,</div><div><br></div><div>I am a professor who wants my students to write a very simple compiler using LLVM. The students will have their own frontends. They will generate machine code after converting their codes to LLVM IR. I just want them to have the basic understanding of LLVM IR. Which tutorial will be best to learn the basics of LLVM IR ? I understand that the documentation in the link <a href="https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html" target="_blank">https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html</a> is the best document; however, I also understand that this is very elaborate for a beginner to LLVM.</div><div><br></div><div>Thanks,</div><div>Sudakshina<br></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>