Iterate Arguments State Property
If Python is in the "iterate_args" state, and the Arguments stack has at least 1 argument, then the Expression State is updated to "begin_expr" to begin evaluating the argument.
if the following are true:
- expression state at time t = "iterate_args"
- arguments stack at time t = [ [ x, y ], z ]
then expression state at time (t + 1) = "begin_expr"
if the following are true:
- expression state at time 3 = "iterate_args"
- arguments stack at time 3 = [ [ 5, [ 2, [ ] ] ], [ ] ]
then expression state at time (3 + 1) = "begin_expr"
Try stepping through the simulator to see the Expression state set to "begin_expr" again.
Code Editor
LW Python State
Current Line | 1 | Current Tab | 0 | Time | 0 |
LW Python Simulator
Comments
Please log in to add comments