equal
deleted
inserted
replaced
186 \begin{textblock}{1}(3,6) |
186 \begin{textblock}{1}(3,6) |
187 \begin{bubble}[8.5cm] |
187 \begin{bubble}[8.5cm] |
188 \normalsize |
188 \normalsize |
189 parser input: a sequence of tokens\smallskip\\ |
189 parser input: a sequence of tokens\smallskip\\ |
190 |
190 |
191 {\small\hspace{5mm}\code{key(read) lpar id(n) rpar semi}}\smallskip\\ |
191 {\small\hspace{5mm}\code{key(read) lpar id(n) rpar}}\smallskip\\ |
192 |
192 |
193 parser output: an abstract syntax tree\smallskip\\ |
193 parser output: an abstract syntax tree\smallskip\\ |
194 \footnotesize |
194 \footnotesize |
195 \hspace{2cm}\begin{tikzpicture} |
195 \hspace{2cm}\begin{tikzpicture} |
196 \node {\code{read}} |
196 \node {\code{read}} |
675 "The C++ grammar is ambiguous, context-dependent and potentially |
675 "The C++ grammar is ambiguous, context-dependent and potentially |
676 requires infinite lookahead to resolve some ambiguities." |
676 requires infinite lookahead to resolve some ambiguities." |
677 \end{mybox3}\bigskip |
677 \end{mybox3}\bigskip |
678 |
678 |
679 |
679 |
680 \hfill from the \href{http://www.computing.surrey.ac.uk/research/dsrg/fog/FogThesis.pdf}{PhD thesis} by Willink (2001) |
680 \hfill from the \href{https://urbanchr.github.io/cfl/willing-cpp-thesis.pdf}{PhD thesis} by Willink (2001) |
681 |
681 |
682 \small |
682 \small |
683 \begin{center} |
683 \begin{center} |
684 \begin{lstlisting}[language={},numbers=none] |
684 \begin{lstlisting}[language={},numbers=none] |
685 int(x), y, *const z; |
685 int(x), y, *const z; |