-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d301b13
commit 75069e6
Showing
8 changed files
with
71 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,47 @@ | ||
# ocaml_cvc5 # | ||
[![Build badge](https://github.com/formalsec/ocaml-cvc5/actions/workflows/build.yml/badge.svg)](https://github.com/formalsec/ocaml-cvc5/actions) ![Platform](https://img.shields.io/badge/platform-linux%20%7C%20macos-lightgrey) | ||
|
||
OCaml bindings for the cvc5 SMT solver | ||
ocaml-cvc5 | ||
=============================================================================== | ||
|
||
OCaml bindings for the [cvc5] Satisfiability Modulo Theories (SMT) solver | ||
|
||
## Installation | ||
|
||
### Build from source | ||
|
||
--- | ||
- Clone the complete source tree: | ||
|
||
```sh | ||
git clone --recurse-submodules https://github.com/formalsec/ocaml-cvc5 | ||
``` | ||
|
||
- Install the library dependencies: | ||
|
||
```sh | ||
cd ocaml-cvc5 | ||
opam install . --deps-only | ||
``` | ||
|
||
- Build and test: | ||
|
||
```sh | ||
dune build | ||
dune runtest | ||
``` | ||
|
||
- Install cvc5's OCaml bindings on your path by running: | ||
|
||
```sh | ||
dune install | ||
``` | ||
|
||
## Examples | ||
|
||
Run examples with: | ||
|
||
```sh | ||
dune exec -- examples/toy.exe #replace toy with any other example | ||
``` | ||
|
||
[cvc5]: https://github.com/cvc5/cvc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,3 @@ | |
(with-stdout-to | ||
%{target} | ||
(run %{deps})))) | ||
|
||
(executable | ||
(name toy) | ||
(libraries cvc5) | ||
(modules toy)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(executable | ||
(name toy) | ||
(libraries cvc5) | ||
(modules toy)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters