[LLVMdev] 'Implementing a language with LLVM' tutorial

Aaron Gray angray at beeb.net
Mon Nov 5 04:38:16 PST 2007


> Hi All,
>
> LLVM has long needed a tutorial for people who are interested in using
> it to implement their favorite language and to demonstrate how to use
> the JIT.  To help solve this, I've put together a little tutorial that
> runs through the implementation and extension of a toy language here:
>
>   http://llvm.org/docs/tutorial/
>
> At this point, the tutorial is feature complete, but might still need
> some final editing.  Before I try to get other sites to link to it, I
> thought it would be good to get some more eyeballs on it and get some
> thoughts and feedback from you.
>
> Anyone have thoughts or feedback? :)

Nice job. The only bit that is not immediately clear is the 'Proto' 
variable, but is clear when looking through the code at the end of the page.

Could do with a link to the LLVMBuilder class reference material.

Thanks,

Aaron




More information about the llvm-dev mailing list