No description, website, or topics provided.
Coq OCaml Python Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
coq
ocaml
pldi2013-benchmarks Forked from "desmoines" repository before sequential composition hack… May 22, 2013
py
.gitignore
LICENSE
Makefile
README.md

README.md

Building from Source

Prerequisites

Building

  • From the root directory of the repository, run make

    $ make
    

    Make compiles the Coq code first, extracts it to OCaml, and then compiles the OCaml shim.

Hacking

Coq Wisdom

Do not use type-classes in Coq code that is meant to be extracted to OCaml. Type-classes aren't expressible in OCaml's type system, and Coq happily extracts it to use Obj.magic and other nonsense.

However, type-classes can help structure proofs. So, very carefully split factor the Coq into code and proof.

OCaml Wisdom

If you're using the user-mode reference switch, emit CONTROLLER actions last.