[cfe-dev] compatibility of the C++0x spec and LL(k) LR(k)

Douglas Gregor dgregor at apple.com
Wed Aug 31 16:32:07 PDT 2011


On Aug 31, 2011, at 12:38 PM, Carter Cheng wrote:
> I guess this is more of a standards question- but I am curious to what
> extent the new grammar is compatible with these standard subsets of
> CFG's (and perhaps which portions of the grammar may be compatible).


C++ is a context-sensitive language that is neither LL(k) nor LR(k). C++0x is arguable "more context-sensitive" than C++98/03, due to the addition of the context-sensitive keywords "final" and "override".

However, please note that general compiler questions like this are off-topic for the Clang mailing list.

	- Doug



More information about the cfe-dev mailing list