equal
deleted
inserted
replaced
65 $S \rightarrow \texttt{if0} \cdot E \cdot \texttt{then} \cdot S$\\ |
65 $S \rightarrow \texttt{if0} \cdot E \cdot \texttt{then} \cdot S$\\ |
66 $S \rightarrow \texttt{print} \cdot S$\\ |
66 $S \rightarrow \texttt{print} \cdot S$\\ |
67 $S \rightarrow \texttt{begin} \cdot B\cdot \texttt{end}$\\ |
67 $S \rightarrow \texttt{begin} \cdot B\cdot \texttt{end}$\\ |
68 $B \rightarrow S\cdot \texttt{;}$\\ |
68 $B \rightarrow S\cdot \texttt{;}$\\ |
69 $B \rightarrow S\cdot \texttt{;} \cdot B$\\ |
69 $B \rightarrow S\cdot \texttt{;} \cdot B$\\ |
70 $E \rightarrow num$ |
70 $S \rightarrow num$\\ |
|
71 $E \rightarrow num$\\ |
|
72 $B \rightarrow num$ |
71 \end{tabular} |
73 \end{tabular} |
72 \end{center} |
74 \end{center} |
73 |
75 |
74 where $S$ is the start symbol and $S$, $E$ and $B$ are |
76 where $S$ is the start symbol and $S$, $E$ and $B$ are |
75 non-terminals. |
77 non-terminals. |