[LLVMdev] LLVM OCaml Tutorial

Jon Harrop jon at ffconsultancy.com
Sat Apr 18 11:02:58 PDT 2009

On Tuesday 14 April 2009 01:29:44 Chris Wailes wrote:
> I have managed to adapt almost all of the tutorial code into using ocamllex
> and ocamlyacc (the only thing I'm missing is the ability to assign
> precendence to user defined binary and unary operators), and was wondering
> if ther would be an interest in adding my code as supplimental material.

Yes! I thought it was a bit of a shame that so much precious LLVM tutorial 
space was devoted to lexing and parsing without using appropriate tools.

You may also want to write an even smaller parser using camlp4...

Dr Jon Harrop, Flying Frog Consultancy Ltd.

More information about the llvm-dev mailing list