Coder Social home page Coder Social logo

maelvls / ocaml-qbf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from c-cube/ocaml-qbf

1.0 3.0 0.0 477 KB

OCaml bindings to QBF solver(s)

License: BSD 2-Clause "Simplified" License

Makefile 0.27% C 65.40% Shell 0.51% OCaml 33.64% C++ 0.18%

ocaml-qbf's Introduction

OCaml-QBF

Library to deal with Quantified Boolean Formulas in OCaml.

Linux, MacOS Windows
Linux and MacOS Windows

Organization

  • The main library, qbf, contains types and functions to deal with representing boolean literals and quantified formulas, as well as a generic interface for solvers.
  • A sub-library, qbf.quantor, contains a binding to the quantor QBF solver. The solver itself and Picosat (version 535) are packaged with the library for convenience (they are rarely packaged on distributions, and require some compilation options such as -fPIC to work with OCaml).

Tested configurations

It works with any version of OCaml from 3.12.1 to 4.04.0 onwards.

  1. tested on linux (Ubuntu 16.04, x86_64),
  2. tested on MacOS,
  3. on windows, the cross-compilation to native win32 under cygwin works fine using the mingw64-i686 cross-compiler. It does not work with the x86_64 compiler1. Should also work under windows-bash for windows 10.

License

The library and its dependencies are licensed under the BSD license (and the MIT license for picosat), which is fairly permissive.

Installation

Please use opam (after the first release is done).

Footnotes

  1. This is a bug in quantor's ./configure. When testing the size of a word, windows uses unsigned long long but this option is not checked (only unsigned long and unsigned). โ†ฉ

ocaml-qbf's People

Contributors

c-cube avatar maelvls avatar

Stargazers

Simon Cooksey avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.