next up previous
Next: Applying production rules: Up: Basic Concepts and Terminologies Previous: Operations on Alphabet, Languages,

Grammar

A grammar $G$ is defined as quadruple

\begin{displaymath}G = (V, T, S, P),\end{displaymath}

where We always assume that the productions are of the form

\begin{displaymath}x \rightarrow y,\end{displaymath}

where $x$ is an element of $(V\cup T)^+$ and $y$ is in $(V\cup T)^*$.

Subsections

xiangyang li 2000-09-06