[LLVMdev] ANTLR?

Vikram S. Adve vadve at cs.uiuc.edu
Sat Jul 11 13:08:31 PDT 2009


That sounds like a problem.  Just so I understand, do you mean there  
isn't the run-time support etc. to write back ends for the C++  
language, or that the compiler IR is also somehow insufficient to  
write a code generator?

--Vikram
Associate Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve



On Jul 11, 2009, at 3:00 PM, Granville Barnett wrote:

> Hi,
>
> I've not got any experience using ANTLR to parse C++, however, you  
> will find that there only exists a C code generator for ANTLR and  
> NOT a C++ one. Over the years numerous people have requested a C++  
> code generation template but alas there is still only a C one. Just  
> a heads up.
>
> Granville
>
>
> 2009/7/11 Vikram S. Adve <vadve at cs.uiuc.edu>
> We are looking for an open source C++ parser other than g++ if  
> possible.  Clang would be great but its C++ support is still some  
> way away and we need something that works or nearly works now.  Does  
> anyone have any experience with ANTLR for parsing C++ and for  
> extending their C++ parser?  Any other feedback on ANTLR in general  
> would be welcome too.  Thanks,
>
> --Vikram
> Associate Professor, Computer Science
> University of Illinois at Urbana-Champaign
> http://llvm.org/~vadve
>
> P.S.   Sorry for the spam. I know this question is not directly LLVM  
> related but it is peripherally related and this list is the best  
> source I could think of for C++ parsing experience.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> <ATT00001.txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090711/9e99004f/attachment.html>


More information about the llvm-dev mailing list