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
Bruce Mitchener
a3facc82fb
Update OCaml docs for changes made elsewhere.
...
This removes references to the PROOF_MODE that have been removed
elsewhere.
2018-05-23 23:55:17 +07:00
Nikolaj Bjorner
b1f05d8271
fix #1539
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-14 18:14:29 -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
f5bba63674
Merge pull request #1431 from waywardmonkeys/typo-fixes
...
Typo fixes.
2018-01-02 07:56:31 -08:00
Nikolaj Bjorner
a875d3e491
fix #1429
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-02 07:54:31 -08:00
Bruce Mitchener
73b3da37d8
Typo fixes.
2018-01-02 22:48:06 +07:00
Christoph M. Wintersteiger
c3c06d756c
Documentation fixes.
2017-12-18 20:12:19 +00: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
Christoph M. Wintersteiger
db398eca7a
Tabs, formatting.
2017-09-17 17:50:05 +01:00
Christoph M. Wintersteiger
00651f8f21
Tabs, formatting.
2017-09-17 14:54:09 +01:00
Sangwoo Joh
5845958986
Bugfix: get_objectives in ML API
2017-08-24 18:17:47 +09:00
Christoph M. Wintersteiger
ed5058d225
Fixed typo in ML API. Relates to #1214 .
2017-08-21 18:21:31 +01:00
Nikolaj Bjorner
aa81d58bb0
add sequences to ML API #1214
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-18 14:29:53 -07: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
aefed78f1a
Fixed ML API build again
2017-08-01 17:02:04 +01:00
Christoph M. Wintersteiger
ce01895ab3
Fixed ML API build.
2017-08-01 16:54:27 +01: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-neuhaeusser
f069b1c0e9
Make C-layer of OCaml bindings C89 compatible.
...
This patch ensures that the C code generated for the OCaml stubs complies with C89. It is needed to compile Z3 with OCaml support with Visual Studio versions older than VS2013.
2016-06-10 16:49:06 +02:00
Christoph M. Wintersteiger
140f0bb794
ML API build fix
2016-05-03 13:34:20 +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
34bf4b1d3c
Fix installation of custom error handler during context creation in OCaml bindings
...
This patch fixes a bug detected by valgrind, where a custom error handler
did not get installed correctly.
2016-04-18 17:20:12 +02:00
martin-neuhaeusser
95454679e2
Another round of pretty printing
2016-04-06 12:45:21 +02:00
martin-neuhaeusser
bd9d13279a
Pretty printing
2016-04-06 12:39:19 +02:00
martin-neuhaeusser
1662ba8353
Add more comments on comparison functions in the C layer of the OCaml bindings
2016-04-06 12:36:11 +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
martin-neuhaeusser
b85516c271
Fix reference counting in the C layer of the OCaml bindings
...
The Z3 context and its reference counters are stored in a structure which is allocated
by the C layer outside the OCaml heap, whenever a Z3 context is created. The structure
and its Z3 context are disposed, once the last reference counter reaches zero. Reference
counters are decremented by C-level finalizers.
The OCaml representations for a Z3 context wrap only a pointer to the corresponding structure.
2016-04-03 09:41:06 +02:00
Christoph M. Wintersteiger
61525b9f5e
style
2016-03-04 17:07:20 +00:00
Christoph M. Wintersteiger
0254b1f7ff
ML API bug fixes
2016-02-15 13:28:22 +00:00
Christoph M. Wintersteiger
0dc85620aa
ML API bug fix
2016-02-15 13:01:00 +00:00
Christoph M. Wintersteiger
62cae4186b
ML API bug fixes
2016-02-15 12:54:05 +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