![cover image](https://wikiwandv2-19431.kxcdn.com/_next/image?url=https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Terminal_and_non-terminal_symbols_example.png/640px-Terminal_and_non-terminal_symbols_example.png&w=640&q=50)
Terminal and nonterminal symbols
Categories of symbols in formal grammars / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Nonterminal?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
In formal languages, terminal and nonterminal symbols are the lexical elements used in specifying the production rules constituting a formal grammar. Terminal symbols are the elementary symbols of the language defined as part of a formal grammar. Nonterminal symbols (or syntactic variables) are replaced by groups of terminal symbols according to the production rules.
![Thumb image](http://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Terminal_and_non-terminal_symbols_example.png/640px-Terminal_and_non-terminal_symbols_example.png)
The terminals and nonterminals of a particular grammar are in two completely separate sets.