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
124
Issues
124
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
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
d9a03ee3
Commit
d9a03ee3
authored
Dec 17, 2018
by
Guillaume Melquiond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make trywhy3 compatible with recent versions of js_of_ocaml.
parent
a4c46093
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
126 additions
and
118 deletions
+126
-118
Makefile.in
Makefile.in
+1
-3
src/trywhy3/.merlin
src/trywhy3/.merlin
+1
-1
src/trywhy3/alt_ergo_worker.ml
src/trywhy3/alt_ergo_worker.ml
+1
-0
src/trywhy3/trywhy3.ml
src/trywhy3/trywhy3.ml
+119
-111
src/trywhy3/why3_worker.ml
src/trywhy3/why3_worker.ml
+2
-1
src/trywhy3/worker_proto.ml
src/trywhy3/worker_proto.ml
+2
-2
No files found.
Makefile.in
View file @
d9a03ee3
...
@@ -1576,7 +1576,7 @@ endif
...
@@ -1576,7 +1576,7 @@ endif
ALTERGODIR
=
src/trywhy3/alt-ergo
ALTERGODIR
=
src/trywhy3/alt-ergo
JSOCAMLC
=
ocamlfind ocamlc
-package
js_of_ocaml
-g
-package
js_of_ocaml.
synta
x
\
JSOCAMLC
=
ocamlfind ocamlc
-package
js_of_ocaml
-g
-package
js_of_ocaml.
pp
x
\
-package
ocplib-simplex
-I
src/trywhy3
\
-package
ocplib-simplex
-I
src/trywhy3
\
-I
$(ALTERGODIR)
/lib/util
\
-I
$(ALTERGODIR)
/lib/util
\
-I
$(ALTERGODIR)
/lib/structures
\
-I
$(ALTERGODIR)
/lib/structures
\
...
@@ -1700,8 +1700,6 @@ src/trywhy3/%.cmi: src/trywhy3/%.mli
...
@@ -1700,8 +1700,6 @@ src/trywhy3/%.cmi: src/trywhy3/%.mli
src/trywhy3/%.cmo
:
BFLAGS += -w -48
src/trywhy3/%.cmo
:
BFLAGS += -w -48
src/trywhy3/worker_proto.cmo src/trywhy3/trywhy3.cmo
:
BFLAGS += -syntax camlp4o
clean
::
clean
::
rm
-f
src/trywhy3/trywhy3.js src/trywhy3/trywhy3.byte src/trywhy3/trywhy3.cm
*
\
rm
-f
src/trywhy3/trywhy3.js src/trywhy3/trywhy3.byte src/trywhy3/trywhy3.cm
*
\
src/trywhy3/why3_worker.js src/trywhy3/why3_worker.byte src/trywhy3/why3_worker.cm
*
\
src/trywhy3/why3_worker.js src/trywhy3/why3_worker.byte src/trywhy3/why3_worker.cm
*
\
...
...
src/trywhy3/.merlin
View file @
d9a03ee3
PKG js_of_ocaml js_of_ocaml.
synta
x ocplib-simplex
PKG js_of_ocaml js_of_ocaml.
pp
x ocplib-simplex
REC
REC
src/trywhy3/alt_ergo_worker.ml
View file @
d9a03ee3
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
open
Format
open
Format
open
Worker_proto
open
Worker_proto
module
Worker
=
Js_of_ocaml
.
Worker
module
SAT
=
(
val
(
Sat_solver
.
get_current
()
)
:
Sat_solver_sig
.
S
)
module
SAT
=
(
val
(
Sat_solver
.
get_current
()
)
:
Sat_solver_sig
.
S
)
module
FE
=
Frontend
.
Make
(
SAT
)
module
FE
=
Frontend
.
Make
(
SAT
)
...
...
src/trywhy3/trywhy3.ml
View file @
d9a03ee3
This diff is collapsed.
Click to expand it.
src/trywhy3/why3_worker.ml
View file @
d9a03ee3
...
@@ -18,7 +18,8 @@ open Why3
...
@@ -18,7 +18,8 @@ open Why3
open
Format
open
Format
open
Worker_proto
open
Worker_proto
module
Sys_js
=
Js_of_ocaml
.
Sys_js
module
Worker
=
Js_of_ocaml
.
Worker
let
()
=
log_time
(
"Initialising why3 worker: start "
)
let
()
=
log_time
(
"Initialising why3 worker: start "
)
...
...
src/trywhy3/worker_proto.ml
View file @
d9a03ee3
...
@@ -45,6 +45,6 @@ let status_of_result = function
...
@@ -45,6 +45,6 @@ let status_of_result = function
let
log
s
=
ignore
(
Firebug
.
console
##
log
(
Js
.
string
s
))
let
log
s
=
ignore
(
Firebug
.
console
##
log
(
Js
.
string
s
))
let
log_time
s
=
let
log_time
s
=
let
date
=
jsnew
Js
.
date_now
()
in
let
date
=
new
%
js
Js
.
date_now
in
let
date_str
=
string_of_float
(
(
date
##
getTime
()
)
/.
1000
.
)
in
let
date_str
=
string_of_float
(
date
##
getTime
/.
1000
.
)
in
log
(
date_str
^
" : "
^
s
)
log
(
date_str
^
" : "
^
s
)
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