Context-free grammar

A context-free grammar is a set of production rules, each replacing one nonterminal with a sequence of terminals and nonterminals. It generates a language by repeated rule application.

Connect