Nikolaj Bjorner
63c0f35978
update ml api
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 19:27:17 -08:00
Nikolaj Bjorner
d51d518f96
update ml api
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 19:24:45 -08:00
Nikolaj Bjorner
1289937d1a
update ml api
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 19:19:41 -08:00
Nikolaj Bjorner
9a94a9aa6f
update ml api
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 19:14:24 -08:00
Nikolaj Bjorner
17bae9b4c1
update ml api
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 19:09:37 -08:00
Nikolaj Bjorner
4c6d44f974
add ocaml signature for simplifier
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 18:58:18 -08:00
Nikolaj Bjorner
fa72ec5405
switch to expose fresh function instead of changing legacy function
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-24 13:05:34 -08:00
Nikolaj Bjorner
3f1b7866ca
convert caml mk_real to int64
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-24 03:53:42 -08:00
Bruce Mitchener
6ba9ada1e2
Fix typos. ( #6291 )
2022-08-21 12:40:07 -07:00
Nikolaj Bjorner
b5a89eb4ab
add missing generation of z3.z3 for pydoc and add some explanations to logging function declaration
2022-07-17 11:03:55 -07:00
Nikolaj Bjorner
aefd336c18
set OCaml default behaivor to enable concurrent dec ref #6160
...
Add Z3_enable_concurrent_dec_ref to the API.
It is enables behavior of dec_ref functions that are exposed over the API to work with concurrent GC. The API calls to dec_ref are queued and processed in the main thread where context operations take place (in a way that is assumed thread safe as context operations are only allowed to be serialized on one thread at a time).
2022-07-16 16:49:39 -07:00
Stefan Muenzel
99212a2726
Use int64 for ocaml api functions that require it ( #6150 )
...
* Use int64 for ocaml api functions that require it
Signed-off-by: Stefan Muenzel <source@s.muenzel.net>
* Use elif
Signed-off-by: Stefan Muenzel <source@s.muenzel.net>
2022-07-11 09:25:05 -07:00
Nikolaj Bjorner
4d23f2801c
ml pre
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-01 20:35:47 -07:00
Sacha Ayoun
ffbabf251d
enhance ocaml seq api ( #6010 )
...
Signed-off-by: Sacha Ayoun <sachaayoun@gmail.com>
2022-05-04 12:03:22 -07:00
Ryan Goulden
99e299b90c
ocaml: fix is_arithmetic_numeral and is_bv_numeral ( #6003 )
2022-04-27 12:36:09 +02:00
Simon Cruanes
11d992a335
wip: tweak GC further ( #5982 )
2022-04-15 20:08:39 +02:00
Anton Kochkov
f3af2193d0
Use Stdlib. instead of Pervasives. due to deprecation ( #5730 )
2021-12-22 07:53:47 -08:00
Simon Cruanes
6302b864c8
tweak GC in OCaml bindings ( #5600 )
...
* feat(api/ml): use custom block hints to guide the GC
this forces the GC to collect garbage when a few _large_ objects
(solver, etc.) are dead. The current code would let arbitrarily many
such objects die and not trigger a GC (which would have to come from
OCaml code instead)
* tuning
* try to use caml_alloc_custom_mem with fake sizes
* try to fix leak by explicitly finalizing OCaml context
* chore: use more recent ubuntu for azure CI
* remove finalizer causing segfault in example
2021-10-14 12:46:14 -07:00
Gabriel Radanne
0c7625cd26
Remove size argument in OCaml's Z3.mk_re_intersect
( #5383 )
...
* Remove size argument in OCaml's `Z3.mk_re_intersect`
Passing the size as argument is unnecessary in OCaml, and that argument is abridged in all similar `Seq` functions. This applies the same pattern.
* Enable the ocaml documentation in Seq.
Turn all the comments into proper documentation comments.
2021-07-06 01:21:04 -07:00
Nikolaj Bjorner
04a1d4245c
fix #4801
2021-02-12 20:20:00 -08:00
Nikolaj Bjorner
49dfaeb406
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-10-12 13:11:46 -07:00
Nikolaj Bjorner
2d5b749745
extend solver callbacks with methods
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-08-21 19:24:59 -07:00
Nikolaj Bjorner
dd5e2e8930
check for 0
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-22 10:44:00 -07:00
Nikolaj Bjorner
006418e027
build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 23:34:21 -07:00
Nikolaj Bjorner
74eb401c3b
addrecdef
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 18:18:25 -07:00
Nikolaj Bjorner
2bb712c9da
ml
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 17:09:08 -07:00
Nikolaj Bjorner
5ea145ce26
ml
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 17:08:22 -07:00
Nikolaj Bjorner
f3b51db891
ml build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 16:22:01 -07:00
Nikolaj Bjorner
d0e20e44ff
booyah
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 15:56:30 -07:00
Nikolaj Bjorner
10d0404175
add rec decl/def to ML #4563
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 15:38:32 -07:00
Nikolaj Bjorner
f0178a87f5
remove old README
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-27 14:04:43 -07:00
Nikolaj Bjorner
90708576fe
from #4468
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-27 14:04:30 -07:00
Nikolaj Bjorner
a432fd71d3
update ocaml doc per #2843
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-06 20:26:06 -08:00
philzook58
ed03c1d9e6
Removed incorrect include directories flag in ocaml META file
2019-10-25 18:05:13 -07:00
philzook58
5eead52cc0
Fixed linkopts -lstdc++ for ocaml bindings
2019-10-17 10:52:38 -07:00
Nicola Mometto
77c3f1fb82
fix ocaml build by moving to Zarith methods
2019-10-14 09:48:51 -07:00
philzook58
ea8ef3edf8
edited error message string
2019-10-03 17:06:14 -07:00
philzook58
0321312c8d
Changed to get_const_interp to match Java and C# bindings
2019-10-03 17:06:14 -07:00
NikolajBjorner
6b117c0b2c
move to zarith #2471
...
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2019-09-23 02:46:11 -07:00
Nuno Lopes
1827f98851
more fixes for mutexes in shell
2019-06-19 16:42:00 +01:00
Nikolaj Bjorner
40e329fc92
remove push/pop for fixedpoint objects from API #2249
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-04-27 10:13:15 -07:00
Nicola Mometto
9008beeb01
fix mk_quantifier signature
2019-03-26 14:33:20 +00:00
Nicola Mometto
fa97f4a626
fix name clash in ocaml api
2019-03-26 14:16:31 +00:00
Nicola Mometto
06fc94818f
Change error message from "internal failure" to "Object allocation failed"
...
For consistency with ad49c3269a
and Java/dotNet APIs
2018-12-11 12:09:22 +00:00
Nikolaj Bjorner
c5f280ae6e
Merge pull request #1969 from Bronsa/master
...
Catch and print exceptions in Z3_mk_config
2018-11-27 10:43:43 -08:00
Bruce Mitchener
7fb0106ead
Fix typo in OCaml API docs.
2018-11-27 22:14:41 +07:00
Nicola Mometto
21158d87e3
override n_mk_config in ml bindings to catch exception path
2018-11-27 12:31:00 +00:00
Nicola Mometto
f18227bf2d
Add Memory.reset to OCaml API
2018-11-26 17:24:51 +00:00
Simon Cruanes
9121c74c9f
feat(api/ml): release runtime lock on some long-running functions
2018-11-06 16:23:18 -06:00
Nikolaj Bjorner
b1ab473035
add arguments to optimize_check fix #1866
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-14 20:44:46 -07:00