Skip to content

Commit 6b3ae86

Browse files
Updated documentation: Verify is no longer a statement in the semantics
1 parent 1e943af commit 6b3ae86

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

docs/semantics/main.pdf

-2.57 KB
Binary file not shown.

docs/semantics/main.tex

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -488,17 +488,6 @@ \subsubsection*{Transition}
488488
\end{figure}
489489

490490

491-
492-
\subsubsection*{Verify}
493-
The $\mathbf{verify} \, \expr \, \expr'$ statement is used to check the whether the boolean expression $\expr$ holds; if it does, then nothing happens, as stated in the \textsc{stmt\_verify\_3} rule. Otherwise, it assigns the error in $\expr'$ to $"parseError"$ and reduces the statement to a $\mathbf{transition}$ statement to the state \reject{}.
494-
495-
\begin{figure}[ht!]
496-
\ottusedrule{\ottdrulestmtXXverifyXXThree{}} \\
497-
\ottusedrule{\ottdrulestmtXXverifyXXFour{}}
498-
\end{figure}
499-
500-
501-
502491
\subsection{Frame-Level Semantics}
503492
The statement semantics in the previous section operate on a single frame containing a list of statements, however when a function being called, a new frame will be pushed to the frame list of the state. The frame-level semantics will always try to execute the top frame, however \textsc{frames\_comp1} will be used when the status is not set to $\returnst{v}$ and \textsc{frames\_comp2} when it is.
504493

@@ -690,8 +679,6 @@ \section{Semantics of Expression Reduction}
690679
\ottusedrule{\ottdrulestmtXXretXXe{}}
691680
\ottusedrule{\ottdrulestmtXXassXXe{}}
692681
\ottusedrule{\ottdrulestmtXXcondXXe{}}
693-
\ottusedrule{\ottdrulestmtXXverifyXXeOne{}}
694-
\ottusedrule{\ottdrulestmtXXverifyXXeTwo{}}
695682
\end{ottdefnblock}
696683
\caption{Statement Reduction-of-Argument Semantics (selection)}
697684
\label{fig:semstmt2}

0 commit comments

Comments
 (0)