antlr3 - How to generate LLVM IR with ANTLR and C target -
IM is currently trying to generate LLVM IR with ANLL 3. But the problem is that I need a C target (C ++ would be better, but is not working yet, is it or is it?) But from C I can not call the LLVM C ++ API to build the IR.
Tutorial uses Java and StringTamplate Lib from Terrence Parr but as I know that StringTemplate is not available for lib ist c.
Does anyone have some good ideas about how this can be done? :)
Thx
There is a very good entry in LLVF, what do you do This discussion indicates: It indicates LLVM-C, which is C bond for LVM, allows to generate direct IR from C, and is integrated for LCL since Liege-2-llvm-2.6
The approach takes example with the Terence Enterprise-Java and the string templates to make the Lavell assembly as text (And the creation of text is actually about string templates).
Comments
Post a Comment