Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
120
Issues
120
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
dd57d2e7
Commit
dd57d2e7
authored
Sep 10, 2015
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try Why3: version francaise
parent
016365db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
181 additions
and
1 deletion
+181
-1
.gitignore
.gitignore
+4
-1
Makefile.in
Makefile.in
+8
-0
src/trywhy3/index.prehtml
src/trywhy3/index.prehtml
+169
-0
No files found.
.gitignore
View file @
dd57d2e7
...
...
@@ -271,7 +271,10 @@ pvsbin/
# Try Why3
/src/trywhy3/trywhy3.js
/src/trywhy3/trywhy3.byte
/src/trywhy3/theories.ml
/src/trywhy3/index.en.html
/src/trywhy3/index.fr.html
/src/trywhy3/ace-builds
/src/trywhy3/alt-ergo-0.99.1
# jessie3
/src/jessie/config.log
...
...
Makefile.in
View file @
dd57d2e7
...
...
@@ -1436,6 +1436,14 @@ ALTERGOMODS=util/numbers util/version util/options parsing/why_parser parsing/wh
TRYWHY3CMO
=
lib/why3/why3.cma
# $(addprefix $(ALTERGODIR)/src/, $(addsuffix .cmo,$(ALTERGOMODS)))
trywhy3
:
src/trywhy3/trywhy3.js src/trywhy3/index.en.html src/trywhy3/index.fr.html
%.fr.html
:
%.prehtml
yamlpp
-l
fr
$<
-o
$@
%.en.html
:
%.prehtml
yamlpp
-l
en
$<
-o
$@
src/trywhy3/trywhy3.js
:
src/trywhy3/trywhy3.byte
js_of_ocaml
--extern-fs
-I
.
-I
src/trywhy3
--file
=
trywhy3.conf:/
\
--file
=
try_alt_ergo.drv:/
\
...
...
src/trywhy3/index.html
→
src/trywhy3/index.
pre
html
View file @
dd57d2e7
<html
xmlns=
"http://www.w3.org/1999/xhtml"
style=
"font-family:Verdana,Arial,Sans-Serif"
>
<head>
<title>
Try Why3
</title>
<title>
<
#en
>
Try Why3
</
#
en><
#fr
>
Essayez Why3
</
#
fr>
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
/>
<!-- color customisation -->
...
...
@@ -20,72 +22,138 @@
<input
type=
"file"
id=
"file-selector"
/>
<div
id=
"background-shadow"
>
<div
id=
"confirm-dialog"
>
The content of the current buffer will be lost.
<br/>
<
#en
>
The content of the current buffer will be lost
</
#
en>
<
#fr
>
Le contenu actuel du programme sera perdu
</
#
fr>
<br/>
<div
style=
"width:70%; display:inline-block;"
>
<button
class=
"btn"
onclick=
"confirmReplace();"
>
Confirm
</button>
onclick=
"confirmReplace();"
>
<
#en
>
Confirm
</
#
en>
<
#fr
>
Confirmer
</
#
fr>
</button>
<button
class=
"btn"
onclick=
"cancelReplace();"
>
Cancel
</button>
onclick=
"cancelReplace();"
>
<
#en
>
Cancel
</
#
en>
<
#fr
>
Annuler
</
#
fr>
</button>
</div>
</div>
</div>
<!-- the main page -->
<h1
style=
"background-color:#356aa0;color:#fff"
>
Try Why3
</h1>
<p>
Type some program in the text area below, then select
'Prove all' in the Why3 menu to generate proof obligations.
</p>
<p>
Related links
<div
align=
"right"
>
<
#fr
><a
href=
"index.en.html"
>
English version
</a></
#
fr>
<
#en
><a
href=
"index.fr.html"
>
Version fran
ç
aise
</a></
#
en>
</div>
<h1
style=
"background-color:#356aa0;color:#fff"
>
<
#en
>
Try Why3
</
#
en><
#fr
>
Essayez Why3
</
#
fr>
</h1>
<p>
<
#en
>
Type some program in the text area below, then select
'Prove all' in the Why3 menu to generate proof obligations.
</
#
en>
<
#fr
>
Tapez un programme dans la zone de texte ci-dessous, puis
s
é
lectionnez 'Prouver' dans le menu Why3 pour engendrer
les obligations de preuve.
</
#
fr>
</p>
<p><
#en
>
Related links
</
#
en><
#fr
>
Liens utiles
</
#
fr>
<ul>
<li>
The
<a
href=
"http://why3.lri.fr/"
>
Why3 home page
</a>
<li>
The
<a
href=
"http://ocsigen.org/js_of_ocaml/"
>
Js_of_ocaml
</a>
compiler used to produce this page
<li><
#en
>
The
</
#
en><
#fr
>
La
</
#
fr>
<a
href=
"http://why3.lri.fr/"
>
<
#en
>
Why3 home page
</
#
en>
<
#fr
>
page principale de Why3
</
#
fr>
</a>
<li><
#en
>
The
</
#
en><
#fr
>
Le compilateur
</
#
fr>
<a
href=
"http://ocsigen.org/js_of_ocaml/"
>
Js_of_ocaml
</a>
<
#en
>
compiler used to produce this page
</
#
en>
<
#fr
>
utilis
é
pour produire cette page
</
#
fr>
</ul>
</p>
<div
class=
"menu-bar"
>
<ul>
<li><a
href=
"#"
>
File
</a>
<li><a
href=
"#"
>
<
#en
>
File
</
#
en><
#fr
>
Fichier
</
#
fr>
</a>
<ul>
<li><a
href=
"#"
onclick=
"openFile();"
>
Open file…
</a></li>
<li><a
href=
"#"
onclick=
"saveFile();"
>
Save file as…
</a></li>
<li><a
href=
"#"
onclick=
"openFile();"
>
<
#en
>
Open
</
#
en><
#fr
>
Ouvrir
</
#
fr>
</a></li>
<li><a
href=
"#"
onclick=
"saveFile();"
>
<
#en
>
Save as
</
#
en><
#fr
>
Enregister sous
</
#
fr>
</a></li>
</ul>
</li>
<li><a
href=
"#"
>
Edit
</a>
<li><a
href=
"#"
>
<
#en
>
Edit
</
#
en><
#fr
>
Edition
</
#
fr>
</a>
<ul>
<li><a
href=
"#"
onclick=
"editor.undo();"
>
Undo
</a></li>
<li><a
href=
"#"
onclick=
"editor.redo();"
>
Redo
</a></li>
<li><a
href=
"#"
onclick=
"clearBuffer();"
>
Clear buffer
</a></li>
<li><a
href=
"#"
onclick=
"editor.undo();"
>
<
#en
>
Undo
</
#
en><
#fr
>
Annuler
</
#
fr>
</a></li>
<li><a
href=
"#"
onclick=
"editor.redo();"
>
<
#en
>
Redo
</
#
en><
#fr
>
R
é
tablir
</
#
fr>
</a></li>
<li><a
href=
"#"
onclick=
"clearBuffer();"
>
<
#en
>
Clear buffer
</
#
en><
#fr
>
Tout effacer
</
#
fr>
</a></li>
</ul>
</li>
<li><a
href=
"#"
>
Examples
</a>
<li><a
href=
"#"
>
<
#en
>
Examples
</
#
en><
#fr
>
Exemples
</
#
fr>
</a>
<ul>
<li><a
href=
"#"
><div
id=
"drinkers"
>
Drinker's paradox
</div></a></li>
<li><a
href=
"#"
><div
id=
"simplearith"
>
Simple Arithmetic
</div></a></li>
<li><a
href=
"#"
><div
id=
"isqrt"
>
Integral square root
</div></a></li>
<li><a
href=
"#"
><div
id=
"drinkers"
>
<
#en
>
Drinker's paradox
</
#
en>
<
#fr
>
Paradoxe des buveurs
</
#
fr>
</div></a></li>
<li><a
href=
"#"
><div
id=
"simplearith"
>
<
#en
>
Simple Arithmetic
</
#
en>
<
#fr
>
Arithm
é
tique simple
</
#
fr>
</div></a></li>
<li><a
href=
"#"
><div
id=
"isqrt"
>
<
#en
>
Integral square root
</
#
en>
<
#fr
>
Racine carr
é
e enti
è
re
</
#
fr>
</div></a></li>
</ul>
</li>
<li><a
href=
"#"
>
Why3
</a>
<ul>
<li><a
href=
"#"
id=
"run"
>
Run main function
</a></li>
<li><a
href=
"#"
id=
"prove"
>
Prove all
</a></li>
<li><a
href=
"#"
id=
"run"
>
<
#en
>
Run main function
</
#
en>
<
#fr
>
Ex
é
cuter la fonction main
</
#
fr>
</a></li>
<li><a
href=
"#"
id=
"prove"
>
<
#en
>
Prove
</
#
en>
<
#fr
>
Prouver
</
#
fr>
</a></li>
</ul>
</li>
<li><a
href=
"#"
>
Preferences
</a>
<li><a
href=
"#"
>
<
#en
>
Preferences
</
#
en>
<
#fr
>
Pr
é
f
é
rences
</
#
fr>
</a>
<ul>
<li><a
href=
"#"
onclick=
"document.getElementById('radio-wide').click();"
>
<input
id=
"radio-wide"
type=
"radio"
name=
"view"
value=
"wide"
checked=
"checked"
onchange=
"widescreenView();"
/>
Split Vertically
</a>
/>
<
#en
>
Split Vertically
</
#
en>
<
#fr
>
S
é
paration verticale
</
#
fr>
</a>
</li>
<li><a
href=
"#"
onclick=
"document.getElementById('radio-std').click();"
>
<input
id=
"radio-std"
type=
"radio"
name=
"view"
value=
"std"
onchange=
"standardView();"
/>
Split Horizontally
</a></li>
/>
<
#en
>
Split Horizontally
</
#
en>
<
#fr
>
S
é
paration horizontale
</
#
fr>
</a></li>
</ul>
</li>
<li
style=
"float:right;"
><a
href=
"#"
>
Help
</a></li>
<li
style=
"float:right;"
><a
href=
"#"
>
<
#en
>
Help
</
#
en><
#fr
>
Aide
</
#
fr>
</a></li>
</ul>
</div>
<div
id=
"editor-panel"
>
...
...
Write
Preview
Markdown
is supported
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