Some more updates based on feedback
This commit is contained in:
@@ -44,6 +44,17 @@ Motivation and examples
|
||||
\end{enumerate}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{A few more things..}
|
||||
\begin{enumerate}
|
||||
\item<1-> ; is the comment character for the language
|
||||
\item<2-> We will sometimes make larger evaluation jumps for (some) brevity
|
||||
\item<3-> wraplevel is how many times a combiner will evaluate its parameters before the body starts executing. 0 makes it work like a macro, 1 is like a function, etc
|
||||
\item<4-> Wrap takes a combiner and returns the same combiner with an incremented wraplevel, unwrap does the reverese
|
||||
\item<5-> Typing these examples by hand is too finicky, next time they'll be autogenerated with color by the prototype partial evaluator!
|
||||
\end{enumerate}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Smallest Example}
|
||||
\footnotesize
|
||||
@@ -382,7 +393,7 @@ as well as the current environment's upper being not the environment with let, b
|
||||
|
||||
\begin{frame}[fragile]
|
||||
Ok, evaluating all parameters of the array at the same time to be (slightly) consise.
|
||||
Note the replacement of de with the de environment.
|
||||
Note the replacement of de with the de environment, and that (eval v de) was fully executed to it's value. We'll see what the execution inside of eval looks like in a minute.
|
||||
\footnotesize
|
||||
\begin{verbatim}
|
||||
{s: 'lambda,
|
||||
@@ -442,7 +453,6 @@ Ok, finally the let1 has reduced to a function application
|
||||
\footnotesize
|
||||
\begin{verbatim}
|
||||
{lambda: ...}
|
||||
(lambda (n) (* n 2))
|
||||
(<comb wraplevel=0 se (p b1) (wrap (eval (array vau p b1) se))>
|
||||
(n) (* n 2))
|
||||
\end{verbatim}
|
||||
|
||||
Reference in New Issue
Block a user