Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
coq
 
 
 
 
py
 
 
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published
You can’t perform that action at this time.