[LLVMdev] on LLVM parser
rekharamapai at nitc.ac.in
Thu Sep 26 19:53:18 PDT 2013
Yes. I meant for clang.
Thanks for the info.
On Fri, Sep 27, 2013 at 3:15 AM, Reed Kotler <rkotler at mips.com> wrote:
> On 09/26/2013 10:51 AM, Rekha R wrote:
>> Would like to know the parsing strategy used in LLVM - top-down,
>> bottom-up, or any other?
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> Do mean the Clang parsing strategy?
> You should post on the clang list in that case.
> I think it's just recursive descent.
> C++ with traditional lr is a disaster. I don't think anybody is trying to
> make that work anymore. You need lots of left context for parsing C++ so LL
> is more natural. LR was a cheap way to get some left context and made it
> handle a stronger language class but if you guide your parsing using the
> symbol table, then LL is stronger and easier to understand.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev