[LLVMdev] Higher-level OCaml bindings
sabre at nondot.org
Thu Feb 14 10:33:25 CST 2008
On Thu, 14 Feb 2008, Jon Harrop wrote:
> Would it make sense to have higher-level OCaml bindings to the current CLang
> front-end to make code generation even easier?
> Does CLang use a suitable intermediate representation for this to be possible?
The higher level IR that clang uses is basically a C AST. This interface
is under constant flux though. If you wanted to do this, it would be
very reasonable to just cons up some C code and send it through the clang
parser. Clang works great in a JIT environment.
More information about the LLVMdev