diff -r 43c0ed473720 -r a65767fe5d71 slides/slides07.tex --- a/slides/slides07.tex Sun Nov 15 21:31:31 2015 +0000 +++ b/slides/slides07.tex Mon Nov 16 15:16:17 2015 +0000 @@ -281,9 +281,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\mode{ \begin{frame}[t] -\frametitle{\begin{tabular}{c}Compiling AExps\end{tabular}} +\frametitle{Compiling AExps} \begin{center} \bl{\begin{tabular}{@{}lcl@{}} @@ -295,9 +294,9 @@ $\text{compile}(a_1 * a_2)$ & $\dn$\\ \multicolumn{3}{l}{$\qquad\text{compile}(a_1) \;@\; \text{compile}(a_2)\;@\; \text{imul}$}\smallskip\\ \end{tabular}} -\end{center}\pause +\end{center} -\end{frame}} +\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -325,9 +324,8 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\mode{ \begin{frame}[t] -\frametitle{\begin{tabular}{c}Variables\end{tabular}} +\frametitle{Variables} {\Large\bl{$x := 5 + y * 2$}}\bigskip\pause @@ -343,28 +341,27 @@ \bl{$\text{compile}(a, E)$} \end{center} -\end{frame}} +\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\mode{ \begin{frame}[t] -\frametitle{\begin{tabular}{c}Compiling AExps\end{tabular}} +\frametitle{Compiling AExps} \begin{center} \bl{\begin{tabular}{@{}lcl@{}} $\text{compile}(n, E)$ & $\dn$ & $\text{ldc}\;n$\\ $\text{compile}(a_1 + a_2, E)$ & $\dn$\\ -\multicolumn{3}{l}{$\qquad\text{compile}(a_1, E) \;@\;\text{compile}(a_2. E)\;@\; \text{iadd}$}\smallskip\\ +\multicolumn{3}{l}{$\qquad\text{compile}(a_1, E) \;@\;\text{compile}(a_2, E)\;@\; \text{iadd}$}\smallskip\\ $\text{compile}(a_1 - a_2, E)$ & $\dn$\\ \multicolumn{3}{l}{$\qquad\text{compile}(a_1, E) \;@\; \text{compile}(a_2, E)\;@\; \text{isub}$}\smallskip\\ $\text{compile}(a_1 * a_2, E)$ & $\dn$\\ \multicolumn{3}{l}{$\qquad\text{compile}(a_1, E) \;@\; \text{compile}(a_2, E)\;@\; \text{imul}$}\bigskip\\ $\text{compile}(x, E)$ & $\dn$ & $\text{iload}\;E(x)$\\ \end{tabular}} -\end{center}\pause +\end{center} -\end{frame}} +\end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%