A context-free grammar is called a grammar if each reduction step is clearly defined by symbols of the input (so-called lookahead). This means that the question of which non-terminal symbol should be reduced to which rule with which rule can be clearly determined with the help of the next symbols in the input.
A difference in the language class that can be described with grammars can only be seen for the two cases and . The expressiveness of context-free grammars is not achieved by. This means that there are context-free grammars for everyone , for which there are no equivalent grammars , for example an inherently ambiguous language . The language class defined by grammars is also called deterministically context-free languages .