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
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
10d0404175
add rec decl/def to ML #4563
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 15:38:32 -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
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
fa97f4a626
fix name clash in ocaml api
2019-03-26 14:16:31 +00:00
Nicola Mometto
f18227bf2d
Add Memory.reset to OCaml API
2018-11-26 17:24:51 +00: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
Nikolaj Bjorner
09e40f6e23
add arguments to optimize_check fix #1866
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-14 20:43:35 -07:00
Nikolaj Bjorner
0457b5a73f
add arguments to optimize_check fix #1866
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-14 20:39:54 -07:00
Nikolaj Bjorner
3bc2213d54
fix #1577
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-03 17:43:42 -07:00
Nikolaj Bjorner
80d0c5cf82
fix #1836 again
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-09-24 16:52:25 -07:00
Nikolaj Bjorner
382bce4bb7
fix #1836
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-09-20 19:19:40 -07:00
Nikolaj Bjorner
94ffa3963e
fix #1800 by converting large integers to strings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-08-24 16:54:22 +02:00
Nikolaj Bjorner
6dc9c3a587
fix ml build breakd #1659 , #1660
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-05-29 07:37:27 -07:00
Nikolaj Bjorner
2b2aee3c18
remove unused operators #1530
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-14 07:29:26 -07:00
Nikolaj Bjorner
a875d3e491
fix #1429
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-02 07:54:31 -08:00
Nikolaj Bjorner
8e1ab23c3d
remove deprecated functions from ML API. #1393
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-12-07 18:43:29 +05:30
Sangwoo Joh
5845958986
Bugfix: get_objectives in ML API
2017-08-24 18:17:47 +09:00
Nikolaj Bjorner
6feb7ba795
:q
...
add sequences to ML API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-18 14:28:05 -07:00
Christoph M. Wintersteiger
9053e6eba6
Resolved merge conflicts. Added FPA API input validity checks.
2016-11-15 20:19:40 +00:00
Christoph M. Wintersteiger
9ebea09d05
added is_numeral_negative to ML API.
2016-11-07 10:28:39 +00:00
Christoph M. Wintersteiger
81fce55d78
Updated optimization ML API. Addresses #776 .
2016-11-04 21:22:01 +00:00
Christoph M. Wintersteiger
23c58a1ef6
Added FPA numeral predicates to ML API
2016-10-26 18:53:20 +01:00
Christoph M. Wintersteiger
7517cf485e
ML API bugfixes for FPA numeral accessors
2016-10-24 13:32:37 +01:00
Christoph M. Wintersteiger
6b474adc8a
Added accessors to extract sign/exponent/significand BV numerals from FP numerals.
2016-10-24 12:50:05 +01:00
Christoph M. Wintersteiger
3587baaf24
Added full version strings and associated API functions.
2016-07-28 18:06:02 +01:00
Martin R. Neuhaeusser
67ac1a003e
Avoid conversion between mutable arrays and lists in OCaml API.
...
This patch eliminates the conversion between OCaml arrays and lists
from Z3's OCaml API.
2016-04-18 17:20:27 +02:00
martin-neuhaeusser
bd9d13279a
Pretty printing
2016-04-06 12:39:19 +02:00
martin-neuhaeusser
b873c6b508
Simplify OCaml API
...
This patch simplifies the implementation of the OCaml bindings. For example,
the applyX wrapper functions have become unnecessary in the new OCaml API.
It also removes the internal ML2C structure that was used as an intermediate
layer between the C and the OCaml layer.
2016-04-06 12:10:59 +02:00
martin-neuhaeusser
71f991c5df
Avoid using physical equality checks in OCaml bindings (z3.ml)
...
This patch avoids the use of physical equality wherever possible
and improves some details of the OCaml implementation.
2016-04-05 12:51:03 +02:00
martin-neuhaeusser
f133f478c8
Translate correctly between OCaml option values and NULL pointers
...
This patch refactors the update_api script and the z3.ml implementation
to properly translate between OCaml options and NULL pointers. Some
unifications and simplifications (avoidance of unnecessary value allocation)
in the script that creates the native bindings.
2016-04-04 17:16:15 +02:00
Christoph M. Wintersteiger
61525b9f5e
style
2016-03-04 17:07:20 +00:00
Christoph M. Wintersteiger
b99fcb9c8a
More new OCaml API
2016-02-14 19:56:22 +00:00
Christoph M. Wintersteiger
824169da0a
New OCaml API
2016-02-13 22:09:45 +00:00
Nikolaj Bjorner
9fb3d36961
pin expressions during substitution. Issue #367
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 13:39:23 -08:00
Nikolaj Bjorner
98f750f90d
ml build failure, issue #403
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:37:47 -08:00
Nikolaj Bjorner
183d3821ce
ml build failure, issue #403
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:14:43 -08:00
Nikolaj Bjorner
17a32a4e5f
ml build failure
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:14:16 -08:00
Nikolaj Bjorner
d7dcd022b9
seq, API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 18:49:21 -08:00
Nikolaj Bjorner
386399472d
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-23 11:02:34 -08:00
Nikolaj Bjorner
0b1e8ff912
removing tabs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-22 17:00:00 -08:00
Nikolaj Bjorner
5262e1986c
removing tabs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-22 16:58:26 -08:00
Christoph M. Wintersteiger
ced4a430d1
ML code simplification
2015-12-22 23:40:27 +00:00