Commit 801703f9 authored by MARCHE Claude's avatar MARCHE Claude

Jessie3: my very first C program proved!

Subliminal message: the main difficulty was the use
of the API for programs. In particular, I added a first ocamldoc
documentation for [Mlw_module.add_pdecl], explaining that it may raise
exception [Not_found]. The parameter [wp] should be documented too,
I put [true], hoping it is OK.
Generally speaking, [.mli] files in [src/whyml] lack A LOT of
ocamldoc documentation
parent 5e2748cf
This diff is collapsed.
......@@ -54,7 +54,7 @@ let process () =
"Z3,3.2"; "Z3,4.0";
"CVC3,2.2"; "CVC3,2.4.1"]
in
let theories,_modul = ACSLtoWhy3.prog prog in
let theories = ACSLtoWhy3.prog prog in
try
List.iter (fun th ->
ACSLtoWhy3.Self.result "running theory 1:";
......
......@@ -3,7 +3,7 @@
*/
void f(void) {
// assert 6*7 == 42;
//@ assert 6*7 == 42;
}
/*
......
......@@ -88,6 +88,11 @@ val add_meta : module_uc -> meta -> meta_arg list -> module_uc
(** Program decls *)
val add_pdecl : wp:bool -> module_uc -> pdecl -> module_uc
(** [add_pdecl ~wp m d] adds declaration [d] in module [m].
It may raise [Not_found] if [d] contains objects that are not visible
within the current module.
parameter [w] : TODO
*)
exception TooLateInvariant
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment