equal
deleted
inserted
replaced
25 \item \texttt{"if33 ifif then then23 else else 32"} |
25 \item \texttt{"if33 ifif then then23 else else 32"} |
26 \item \texttt{"if x4x < 33 then 1 else 3"} |
26 \item \texttt{"if x4x < 33 then 1 else 3"} |
27 \end{enumerate} |
27 \end{enumerate} |
28 |
28 |
29 In case they can, give the corresponding token sequences. (Hint: |
29 In case they can, give the corresponding token sequences. (Hint: |
30 Observer the maximal munch rule and priorities of your regular |
30 Observe the maximal munch rule and priorities of your regular |
31 expressions that make the process of lexing unambiguous.) |
31 expressions that make the process of lexing unambiguous.) |
32 |
32 |
33 \item Suppose the grammar |
33 \item Suppose the grammar |
34 |
34 |
35 \begin{center} |
35 \begin{center} |