User:Code-Analysis/sandbox

The grammar of any programming language can be considered either in wide terms that include exact specification of everything what is allowed and what is not allowed in the language or in narrow terms that describe only the formal grammar that is suitable for automatic creation of LR parsers. This article focuses on the formal grammar. General description of the C++ language can be found in the main article.