<Σ, N, P, S> consists of four parts:
Σ of terminal symbols, the alphabet of the language, that are assembled to make up the sentences in the language.
N of nonterminal symbols or syntactic categories, each of which represents some collection of subphrases of the sentences.
A nonterminal is represented with the form “<category-name>”.
P of productions or rules that describe how each nonterminal is defined in terms of terminal symbols and nonterminals.
A production is represented with the form:
<stmt> ::= if <expr> then <stmt>where “
if” and “then” are terminal symbols in the language.
The symbol “::=” can be read “is defined to be.”
S, the start symbol, that specifies the principal category being defined—for example, sentence or program.