hw06.tex
changeset 89 24adcc265f2e
parent 56 f28824933a66
equal deleted inserted replaced
88:6e716ecf2db4 89:24adcc265f2e
    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}