on LLVM parser

Hi,

Would like to know the parsing strategy used in LLVM - top-down, bottom-up, or any other?

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.

Yes. I meant for clang.

Thanks for the info.

Rekha