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
Why3
why3
Commits
7ce19416
Commit
7ce19416
authored
Feb 22, 2010
by
Francois Bobot
Browse files
un peu de definition de syntax
parent
d6f9d489
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/manual.tex
View file @
7ce19416
...
...
@@ -132,6 +132,24 @@ Keywords are the following:
\end{center}
\section
{
Grammar
}
%% file := decl*
%% decl := | "theory" uident decl* "end"
%% | "theory" uident "." uqualid ("with" instance+ )?
%% | "use" "open"? uqualid ("as" ident)
%% | "use" "include" uqualid %% pas de as pour include
%% | ("axiom"|"lemma"|"goal") ident ":" fmla
%% | "type" typarams lident ("=" (ty-alg | ty))?
%% ("and" typarams lident ("=" (ty-alg | ty))?)*
%% Il faut verifier qu'il y a toujours un constructeur entre deux
%% définitions récursives.
%% | "logic" def ("and" def)*
%% | "inductive" ...
%% def := lident_ou_infix ("(" formal+, ")")? (":" ty)? ("=" lexpr)?
%% formal := ((lident|_)":")? ty
%% instance := | lqualid "=" lqualid
%% ty-alg := | uident ("(" ty,+ ")")? ("|" uident ...)*
\subsection
{
Qualified names
}
...
...
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