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

Right, I understand that.  I was hoping there was such an  
implementation using ANTLR since it looks like a fairly mature project.

I'm not sure how stable or mature Elsa is (but comments to clarify  
that would be appreciated.).  E.g., a quick scan of their Web page  
shows the comment that they only have a partial type checker.  It also  
says their template instantiation is incomplete.

Associate Professor, Computer Science
University of Illinois at Urbana-Champaign

On Jul 11, 2009, at 3:23 PM, Chris Lattner wrote:

> On Jul 11, 2009, at 12: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,
> You need a lot more than a traditional parser to parse c++, you have
> to do full template instantiation, partial template specialization etc
> just to be able to correctly parse it.  The "best answer" if you need
> something ASAP is to use Elsa.
> -Chris
> _______________________________________________
> 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/1d81c660/attachment.html>

More information about the llvm-dev mailing list