Nikolaj Bjorner
deaad86d6a
nit
2022-03-01 12:11:10 -08:00
Clemens Eisenhofer
412b05076c
User-functions fix ( #5868 )
2022-02-26 09:21:01 -08:00
Nikolaj Bjorner
2e00f2f32d
Propagator ( #5845 )
...
* user propagator without ids
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* user propagator without ids
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* fix signature
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* references #5818
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* fix c++ build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* switch to vs 2022
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* switch 2022
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* Update propagator example (I) (#5835 )
* fix #5829
* na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* switch to vs 2022
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* Adapted the example to the changes in the propagator
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* context goes out of scope in stack allocation, so can't used scoped context when passing objects around
* parameter check
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add rewriter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* Fixed bug in user-propagator "created" (#5843 )
Co-authored-by: Clemens Eisenhofer <56730610+CEisenhofer@users.noreply.github.com>
2022-02-17 09:21:41 +02:00
Nikolaj Bjorner
a621041308
fix #5795
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-01-27 10:45:38 -08:00
Hennadii Chernyshchyk
85f6456655
Add missing constness ( #5787 )
2022-01-21 15:32:25 +01:00
Nikolaj Bjorner
95e26aaad9
#5742
...
expose access to constructors/accessors/recognizers given datatype sort
2021-12-28 11:00:34 -08:00
Nikolaj Bjorner
e0d6e04493
fix c++
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-12-20 16:09:39 -08:00
Nikolaj Bjorner
7a6070506d
#5727
...
Expose diff function,
expose allchar in Java API
expose op codes for replace/re/all
2021-12-20 10:17:06 -08:00
Nikolaj Bjorner
6a039c2700
Update z3++.h
...
simplify definition
2021-12-19 11:53:01 -08:00
Nikolaj Bjorner
bee742111a
na
2021-12-19 11:05:19 -08:00
Nikolaj Bjorner
7441bd706b
na
2021-12-19 10:57:42 -08:00
Nikolaj Bjorner
85e362277c
Update z3++.h
...
with bindings for user propagate functions
2021-12-18 11:56:05 -08:00
Calvin Loncaric
0405a597d4
Fix return type of as_int64 ( #5703 )
2021-12-09 14:39:38 -08:00
Nikolaj Bjorner
1e95fb44d1
add ability to register expressions during callback
2021-12-07 09:47:05 -08:00
Nikolaj Bjorner
833dd62623
fix #5681
2021-11-24 13:24:31 +01:00
Clemens Eisenhofer
091079e58c
Added user propagator example ( #5625 )
...
* Added user propagator example
* User propagator example code refactoring
(+ removed unused parameter warning)
* Moved user-propagator example to its own directory
2021-11-02 15:03:02 -07:00
Henrich Lauko
96671cfc73
Add and fix a few general compiler warnings. ( #5628 )
...
* rewriter: fix unused variable warnings
* cmake: make missing non-virtual dtors error
* treewide: add missing virtual destructors
* cmake: add a few more checks
* api: add missing virtual destructor to user_propagator_base
* examples: compile cpp example with compiler warnings
* model: fix unused variable warnings
* rewriter: fix logical-op-parentheses warnings
* sat: fix unused variable warnings
* smt: fix unused variable warnings
2021-10-29 15:42:32 +02:00
Alexander Traud
f5f35f87d0
fix grouping for latest doxygen ( #5626 )
...
Since doxygen 1.8.16, opening and closing a group must not be done as
C comment but as doxygen command. In other words, not one but two
asterisk characters are required so that doxygen finds a group.
2021-10-27 23:46:31 +02:00
Nikolaj Bjorner
3a3cef8fce
#5615 - update documentation and use non-encoded versions for ASCII characters in get_lstring
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-10-23 18:21:51 +02:00
Nikolaj Bjorner
7f41d6140f
use some suggestions from #5615
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-10-22 12:39:55 -04:00
Nikolaj Bjorner
f05ac8a429
updated C++ API for escaped and unescaped strings #5615
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-10-21 14:52:59 -04:00
CEisenhofer
3557e0b0c5
Added eq/fixed/final functions in C++ user propagator as methods ( #5607 )
2021-10-19 10:48:31 -04:00
Nikolaj Bjorner
ff723f15ff
Update z3++.h
2021-09-29 12:19:02 -07:00
CEisenhofer
c58b2f4a9c
Added character functions to API ( #5549 )
...
* Added character functions to API
* Changed names of c++ functions
2021-09-15 13:34:58 +01:00
Nikolaj Bjorner
55285b2193
make it easier to iterate over arguments of an application
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-02 09:51:59 -07:00
Nikolaj Bjorner
ba68fba419
build
2021-09-01 17:10:23 -07:00
Nikolaj Bjorner
0c53c139da
add to_string method to make it easier to use without <<
2021-09-01 15:37:58 -07:00
Nikolaj Bjorner
828fc72754
types
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-08-26 18:55:53 -07:00
Nikolaj Bjorner
d6848175eb
re-add API for creating propagator from a context for "fresh"
2021-08-26 18:12:40 -07:00
Nikolaj Bjorner
f7c1ed8273
missing this
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-08-26 10:41:37 -07:00
Nikolaj Bjorner
4d39af3d7b
#5507 missing init
2021-08-26 09:37:06 -07:00
Nikolaj Bjorner
15e3e81cb5
remove likely culprit for #5493
...
@zwimer: I had to remove a different move constructor before in the same API due to a different bug that the coverage tool exposed. I was unable to reproduce the bug reported in #5493 in my environment, but the interaction with reference counting and move constructors is sufficiently opaque that I rather not have to fix more bugs introduced with move constructors in the API. I am therefore removing also this use of && and maybe this fixes #5493
2021-08-19 21:08:20 -07:00
Nikolaj Bjorner
2704fb5fd5
expose n-ary xor
2021-08-14 10:52:09 -07:00
Nikolaj Bjorner
38250fc304
re-move #5442
2021-07-29 15:33:30 -07:00
Nikolaj Bjorner
79296d8dfc
proviso for different life-time of objects allocated in arguments.
2021-07-27 09:09:21 -07:00
Nikolaj Bjorner
5964b26ca2
err
2021-07-27 09:07:34 -07:00
Nikolaj Bjorner
7cb4932ae8
fix #5435
2021-07-27 09:04:29 -07:00
CEisenhofer
0fa4b63d26
Added sbv2s ( #5413 )
...
* Added sbv2s
* Fixed indention
Co-authored-by: Clemens Eisenhofer <Clemens.Eisenhofer@tuwien.ac.at>
2021-07-16 17:58:28 +02:00
Nikolaj Bjorner
1b648437b7
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-13 17:42:34 +02:00
Nikolaj Bjorner
7ae78da850
adding access to characters over API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-13 15:56:08 +02:00
Mikhail R. Gadelha
ed59c838bf
Implemented missing methods to the C++ API ( #5242 )
...
* Add method to print Sort to an ostream
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added new FP check methods and clarify documentation
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added missing fp conversion calls to C++ API
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added method to convert a bv (in ieee format) to fp
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added bv reduction methods to C++ API
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Add fp equality method
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added methods to creates fpa nan and fpa inf
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Changed default rounding mode of the C++ API to RNE (see issue #4673 )
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added methods to generate rounding mode sorts and rounding mode numerals
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
2021-05-21 14:10:09 -07:00
Zachary Wimer
f942c3df91
operator= checks this equality before moving ( #5265 )
2021-05-12 13:10:14 -07:00
Zachary Wimer
77dea18f54
Added missing fp conversion methods to C++ API ( #5234 )
2021-04-30 18:45:28 -07:00
Zachary Wimer
e4b660321f
Cpp api string const ( #5228 )
...
* string_const added
* typo fixed
2021-04-29 16:16:48 -07:00
Nikolaj Bjorner
a8ccbd7103
fix #5226
2021-04-29 13:36:25 -07:00
Nikolaj Bjorner
d731ec7cba
Revert "Cpp api fp to bv ( #5218 )" ( #5221 )
...
This reverts commit fa2d593739
.
2021-04-27 08:44:15 -07:00
Zachary Wimer
fa2d593739
Cpp api fp to bv ( #5218 )
...
* fpa_to_ubv and fpa_to_sbv added to C++ API
* Bug fix
* fpa_fp method added to API
* Adjust types to prefer sort over expr and bug fix
2021-04-26 17:00:05 -07:00
Nikolaj Bjorner
44d77a978a
cw review comments #5200
2021-04-20 09:27:59 -07:00
Zachary Wimer
831afa8124
Cpp api add missing fp methods (return type correction) ( #5200 )
...
* added is_nan and is_inf to API
* added support to to_ieee_bv
* bug fix
2021-04-19 17:55:23 -07:00
Zachary Wimer
10e9345cd7
C++ API add missing FP methods ( #5199 )
...
* added is_nan and is_inf to API
* added support to to_ieee_bv
2021-04-19 15:24:09 -07:00