Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/formalsec/ocaml-cvc5
OCaml bindings for the cvc5 SMT solver
https://github.com/formalsec/ocaml-cvc5
cvc5 ocaml
Last synced: 18 days ago
JSON representation
OCaml bindings for the cvc5 SMT solver
- Host: GitHub
- URL: https://github.com/formalsec/ocaml-cvc5
- Owner: formalsec
- License: gpl-3.0
- Created: 2024-03-27T18:06:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T22:32:34.000Z (9 months ago)
- Last Synced: 2024-04-20T23:34:16.971Z (9 months ago)
- Topics: cvc5, ocaml
- Language: OCaml
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build badge](https://github.com/formalsec/ocaml-cvc5/actions/workflows/build.yml/badge.svg)](https://github.com/formalsec/ocaml-cvc5/actions) [![GPL-3.0](https://img.shields.io/github/license/formalsec/ocaml-cvc5)](LICENSE) ![Platform](https://img.shields.io/badge/platform-linux%20%7C%20macos-lightgrey)
ocaml-cvc5
===============================================================================OCaml bindings for the [cvc5] Satisfiability Modulo Theories (SMT) solver
## Installation
### Opam
---
- Install [opam](https://opam.ocaml.org/doc/Install.html).
- Bootstrap the OCaml compiler:```sh
opam init
opam switch create 5.2.0 5.2.0
```- Install cvc5's OCaml bindings:
```sh
opam install cvc5
```
:warning: Installation via Opam is only available for Linux systems.### 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