Skip to content
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

Updated documentation: Verify is no longer a statement in the semantics #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Binary file modified docs/semantics/main.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions docs/semantics/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -488,17 +488,6 @@ \subsubsection*{Transition}
\end{figure}



\subsubsection*{Verify}
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{}.

\begin{figure}[ht!]
\ottusedrule{\ottdrulestmtXXverifyXXThree{}} \\
\ottusedrule{\ottdrulestmtXXverifyXXFour{}}
\end{figure}



\subsection{Frame-Level Semantics}
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.

Expand Down Expand Up @@ -690,8 +679,6 @@ \section{Semantics of Expression Reduction}
\ottusedrule{\ottdrulestmtXXretXXe{}}
\ottusedrule{\ottdrulestmtXXassXXe{}}
\ottusedrule{\ottdrulestmtXXcondXXe{}}
\ottusedrule{\ottdrulestmtXXverifyXXeOne{}}
\ottusedrule{\ottdrulestmtXXverifyXXeTwo{}}
\end{ottdefnblock}
\caption{Statement Reduction-of-Argument Semantics (selection)}
\label{fig:semstmt2}
Expand Down
Loading