66 \end{center} |
66 \end{center} |
67 |
67 |
68 |
68 |
69 \begin{textblock}{5}(12,3) |
69 \begin{textblock}{5}(12,3) |
70 \includegraphics[scale=0.35]{qr01}\\ |
70 \includegraphics[scale=0.35]{qr01}\\ |
71 %%\small Wifi: IET-Guest |
71 \small{}Wifi: Lincoln's Inn\\ |
|
72 \small{}Pwd: 0207\,4051\,393 |
72 \end{textblock} |
73 \end{textblock} |
73 \end{frame} |
74 \end{frame} |
74 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
75 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
75 |
76 |
76 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
110 \begin{center}\large |
111 \begin{center}\large |
111 \code{"if x = 42 then x := x + 1 else x := x - 1"} |
112 \code{"if x = 42 then x := x + 1 else x := x - 1"} |
112 \end{center}\small |
113 \end{center}\small |
113 |
114 |
114 |
115 |
115 \begin{tabular}{@{}l} |
116 \begin{tabular}{@{}l@{\hspace{18mm}}l} |
116 KEYWORD: \\ |
117 KEYWORD: \\ |
117 \hspace{5mm}{if}, {then}, {else},\ldots\\ |
118 \hspace{5mm}{if}, {then}, {else},\ldots\\ |
118 WHITESPACE:\\ |
119 WHITESPACE:\\ |
119 \hspace{5mm}{" "}, {$\backslash$n}, {$\backslash$r}\\ |
120 \hspace{5mm}{" "}, {$\backslash$n}, {$\backslash$r}\\ |
120 IDENTIFIER:\\ |
121 IDENTIFIER:\\ |
121 \hspace{5mm}LETTER $\cdot$ (LETTER + DIGIT + {\_})$^*$\\ |
122 \hspace{5mm}LETTER $\cdot$ (LETTER + DIGIT + {\_})$^*$ & LETTER: [a-zA-Z]\\ |
122 NUM:\\ |
123 NUM: & DIGIT: [0-9]\\ |
123 \hspace{5mm}(NONZERODIGIT $\cdot$ DIGIT$^*$) + {0}\\ |
124 \hspace{5mm}(NONZERODIGIT $\cdot$ DIGIT$^*$) + {0} & NONZERODIGIT: [1-9]\\ |
124 NUMBER:\\ |
125 NUMBER:\\ |
125 \hspace{5mm}NUM + (\texttt{"-"} $\cdot$ NUM)\\ |
126 \hspace{5mm}NUM + (\texttt{"-"} $\cdot$ NUM)\\ |
126 OP:\\ |
127 OP:\\ |
127 \hspace{5mm}+, -, *, \%, <, =<,\ldots\\ |
128 \hspace{5mm}=, :=, +, -, *, \%, <, =<,\ldots\\ |
128 COMMENTS:\\ |
129 COMMENT:\\ |
129 \hspace{5mm}{$\slash$*} $\cdot$ $\sim$(ALL$^*$ $\cdot$ (*$\slash$) $\cdot$ ALL$^*$) $\cdot$ {*$\slash$} |
130 \hspace{5mm}{$\slash$*} $\cdot$ $\sim$(ALL$^*$ $\cdot$ (*$\slash$) $\cdot$ ALL$^*$) $\cdot$ {*$\slash$} |
130 \end{tabular} |
131 \end{tabular} |
131 |
132 |
132 \end{frame} |
133 \end{frame} |
133 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
134 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |