[LLVMdev] LLVM targeting HLLs

David A. Greene greened at obbligato.org
Mon Jan 24 16:18:17 PST 2011


Chris Lattner <clattner at apple.com> writes:

> On Jan 24, 2011, at 2:01 PM, David Given wrote:
>
>> I am interested in using LLVM to translate C and C++ into high-level
>> language code. (As an update to an earlier project of mine, Clue, which
>> used the Sparse compiler library to do this: it targets Lua, Javascript,
>> Perl 5, C, Java and Common Lisp, with a disturbing amount of success.
>> See http://cluecc.sourceforge.net for details.)
>
> If you're familiar with Sparse, then I strongly recommend basing this
> project on Clang ASTs, not basing it on LLVM IR.

I completely agree.  I forgot to add this to the end of my previous
response.  :) LLVM IR throws too much information away to target a HLL
effectively.

                            -Dave



More information about the llvm-dev mailing list