Mai, Haohui haohui.mai at gmail.com
Sat Jul 11 14:37:33 PDT 2009

For a LL(1) parser, it might be a little bit difficult to parse complex 
grammar like C++, but it might work.

ANTLR worked great when other codes were written in Java, but it was a 
little bit painful when using other languages like python.

I worked on it two years ago. I guess they might have some improvement now.


On 07/11/2009 02:40 PM, Vikram S. Adve wrote:
> 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 <http://llvm.org/%7Evadve>/
> /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

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

More information about the llvm-dev mailing list