mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
ML API: mk_context added.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
39e538a8bc
commit
a42e21ede1
2 changed files with 349 additions and 342 deletions
|
@ -14,8 +14,8 @@ let _ =
|
|||
else
|
||||
(
|
||||
Printf.printf "Running Z3 version %s\n" Version.to_string ;
|
||||
let cfg = [("model", "true"); ("proof", "false")] in
|
||||
let ctx = (new context cfg) in
|
||||
let cfg = (Some [("model", "true"); ("proof", "false")]) in
|
||||
let ctx = (mk_context cfg) in
|
||||
let is = (Symbol.mk_int ctx 42) in
|
||||
let ss = (Symbol.mk_string ctx "mySymbol") in
|
||||
let bs = (Sort.mk_bool ctx) in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue