Next: Applying production rules:
Up: Basic Concepts and Terminologies
Previous: Operations on Alphabet, Languages,
A grammar
is defined as quadruple
where
is a finite set of symbols, called variables.
is a finite set of symbols, called terminal tymbols.
is a special symbol called start symbol.
is finite set of productions.
We always assume that the productions are of the form
where
is an element of
and
is in
.
Subsections
xiangyang li
2000-09-06