From b616bad07ad1b28bd18a03f7a2d7518d25a2a74c Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Fri, 16 Dec 2022 15:53:04 +0100 Subject: [PATCH] Modify second slide concerning AST to C --- beamer/beamer.tex | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/beamer/beamer.tex b/beamer/beamer.tex index 5107df3..0a9eecd 100644 --- a/beamer/beamer.tex +++ b/beamer/beamer.tex @@ -176,15 +176,16 @@ \item \texttt{pp\_asnprevarlist} \end{itemize} \pause - \item \texttt{when} implementation error: division by zero for instance + \item \texttt{when} implementation error: division by zero for instance, so used the first trick (\texttt{when\_merge.node}) \pause - \item \texttt{->} + \item \texttt{->}: use global variable \texttt{init\_\{NODE\_NAME\}}\\ + \texttt{1 -> 2 -> 3} returns \texttt{0} on first run and only \texttt{3} on the following ones, correct? (\texttt{arrow.node}) \pause \item \texttt{pre} \pause - \item \texttt{reset} + \item \texttt{reset}% (\texttt{reset}) \pause - \item Functions returning tuples thanks to Arnaud's linearization only have to deal with \texttt{(a0, a1, ..., an) = return\_tuple\_a0\_a1\_dots\_an(0)} + \item Functions returning tuples thanks to Arnaud's linearization only have to deal with \texttt{(a0, a1, ..., an) = return\_tuple\_a0\_a1\_dots\_an(0)} (\texttt{function\_returning\_tuple.node}) \end{itemize} \end{frame}