Reword explanation of Update + Pop

This commit is contained in:
Danila Fedorin 2020-02-23 21:26:56 -08:00
parent c207d1dfcf
commit f7a7100fea
1 changed files with 2 additions and 2 deletions

View File

@ -408,10 +408,10 @@ looks as follows for `definition_defn`:
{{< codelines "C++" "compiler/06/definition.cpp" 44 52 >}}
Notice that we terminate the function with Update and Pop. This
Notice that we terminate the function with Update and Pop. Update
will turn the `ast_app` node that served as the "root"
of the application into an indirection to the value that we have computed.
Doing so will also remove all "scratch work" from the stack.
After this, Pop will remove all "scratch work" from the stack.
In essense, this is how we can lazily evaluate expressions.
Finally, we make a function in our `main.cpp` file to compile