Reword explanation of Update + Pop
This commit is contained in:
parent
c207d1dfcf
commit
f7a7100fea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user