Skip to content

frenetic-lang/featherweight-openflow

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published