Skip to content

[spec] Fix typo in rule #1153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion document/core/exec/runtime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ That way, the end of the inner instruction sequence is known when part of an out
When |END| is reached, i.e., the inner instruction sequence has been reduced to the empty sequence -- or rather, a sequence of :math:`n` |CONST| instructions representing the resulting values -- then the |LABEL| instruction is eliminated courtesy of its own :ref:`reduction rule <exec-label>`:

.. math::
\LABEL_n\{\instr^n\}~\val^\ast~\END \quad\stepto\quad \val^n
\LABEL_m\{\instr^\ast\}~\val^n~\END \quad\stepto\quad \val^n

This can be interpreted as removing the label from the stack and only leaving the locally accumulated operand values.

Expand Down