Updating Kaleidoscope tutorial

Hi there,

I’ve been working through the tutorial on using LLVM to implement a small language (http://llvm.org/docs/tutorial/index.html), and I noticed that the code in the tutorial is a bit out of sync with LLVM 3.5.

I managed to get the code working, and it appears to even be working correctly. I’d like to help correct the tutorial so that other people can also benefit from the pain and heartache I went through figuring out what to change.

What would be the best way for me to do that? I asked on the IRC channel and someone suggested that I send a patch to the mailing list. But I’m curious if the patch should be of the html of the tutorial page, or of something else.


Hi Geoff,

Thanks for contributing. The tutorial has actual code (with Makefiles) in examples/Kaleidoscope; the source for the HTML you see online is in docs/tutorial (both paths are relative to the root of LLVM’s SVN checkout)

Depending on the nature of your patch you may need to include changes to one or both. Send the patch to the llvm-commits mailing list. This page has more details: http://llvm.org/docs/DeveloperPolicy.html


Thanks for the pointers Eli. I will look into it!