Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
0334f63e
Commit
0334f63e
authored
May 23, 2019
by
Julien Signoles
Browse files
[refman] support of logic functions and predicates
parent
e67c9730
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/e-acsl/doc/refman/changes_modern.tex
View file @
0334f63e
...
...
@@ -124,6 +124,11 @@ in \lstinline|\\at|}
{
\section
{
Changes in
\eacsl
Implementation
}
\subsection*
{
Version
\eacslversion
}
\begin{itemize}
\item
\changeinsection
{
logicspec
}{
support of logic functions and predicates
}
\end{itemize}
\subsection*
{
Version Argon-18
}
\begin{itemize}
...
...
src/plugins/e-acsl/doc/refman/logic.tex
View file @
0334f63e
\begin{syntax}
C-global-decl ::=
{
"/*@" logic-def+ "*/"
}
C-global-decl ::= "/*@" logic-def+ "*/"
\
[ {
logic-def
} ]
::=
{
logic-const-def
}
;
|
{
logic-function-def
}
;
|
{
logic-predicate-def
}
;
logic-def ::=
{
logic-const-def
}
;
| logic-function-def ;
| logic-predicate-def ;
\
[ {
type-expr
} ]
::=
{
id
}
;
type-expr
::= id
;
\
[
{ logic-const-def }
]
::=
{
"logic" type-expr id "=" term ";"
}
{
logic-const-def
}
::=
{
"logic" type-expr id "=" term ";"
}
\
[ {
logic-function-def
} ]
::=
{
"logic" type-expr id parameters "=" term ";"
}
logic-function-def ::= "logic" type-expr id parameters "=" term ";"
\
[ {
logic-predicate-def
} ]
::=
{
"predicate" id parameters? "=" pred ";"
}
logic-predicate-def ::= "predicate" id parameters? "=" pred ";"
\
{
parameters
}
::=
{
"(" parameter (, parameter)* ")"
}
parameters ::= "(" parameter (, parameter)* ")"
\
{
parameter
}
::=
{
type-expr id
}
parameter ::= type-expr id
\end{syntax}
src/plugins/e-acsl/doc/refman/speclang_modern.tex
View file @
0334f63e
...
...
@@ -612,7 +612,7 @@ axiomatics.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection
{
\notimplemented
{
Predicate and function definitions
}
}
\subsection
{
Predicate and function definitions
}
\nodiff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
@@ -642,7 +642,7 @@ axiomatics.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection
{
\notimplemented
{
Recursive logic definitions
}
}
\subsection
{
Recursive logic definitions
}
\index
{
recursion
}
\nodiff
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment