[FMFP] Modelling

This commit is contained in:
2026-06-07 12:18:14 +02:00
parent 83999cc32c
commit bd50083741
7 changed files with 126 additions and 1 deletions
@@ -0,0 +1,5 @@
\subsubsection{Macros}
Promela does \textit{not} support procedures. However, many of the effects (apart from recursion) can be achieved with macros.
We define them using \mint{promela}|inline name(arg1, arg2) { /* body */ }|
As is the case in \texttt{C}, they are simply replaced in the code and thus have no new variable scope, support no recursion and have no return value.