copilot-sbv: A compiler for CoPilot targeting SBV.

[ bsd3, embedded, language, library ] [ Propose Tags ]

Blah blah blah...

[Skip to Readme]
Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 2.1.1, 2.1.2, 2.2.0, 2.2.1
Dependencies base (>=4.3 && <5), containers (>=0.4), copilot-core, filepath (>=1.1), pretty (>=1), sbv (>=0.9.21) [details]
License BSD-3-Clause
Author Lee Pike , Robin Morisset , Alwyn Goodloe , Sebastian Niller , Nis Nordby Wegmann
Category Language, Embedded
Source repo head: git clone git://
Uploaded by LeePike at Sat Jan 28 22:14:51 UTC 2012
Distributions NixOS:2.2.1
Downloads 3680 total (25 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for copilot-sbv-0.3

[back to package description]


copilot-sbv Another back-end that translates to SBV, using its code generator to generate hard real-time C code as well. The ad

Copilot is a stream (i.e., infinite lists) domain-specific language (DSL) in Haskell that compiles into embedded C. Copilot is similar in spirit to languages like Lustre. Copilot contains an interpreter, multiple back-end compilers, and other verification tools.


Please see the files under the Examples directory in the Copilot for a number of examples showing the syntax, use of libraries, and use of the interpreter and back-ends. The examples is the best way to start.


The Copilot library is cabalized. Assuming you have cabal and the GHC compiler installed (the Haskell Platform is the easiest way to obtain these), it should merely be a matter of running

     cabal install copilot-sbv

However, we strongly recommend you install Copilot, which installs copilot-sbv and other packages automatically. Execute

     cabal install copilot


copilot-sbv depends on the SBV library to generate hard real-time C code.


copilot-sbv is available on Hackage.

Sources for each package are available on Github as well. Just go to Github and search for the package of interest. Feel free to fork!

Copyright, License

Copilot is distributed with the BSD3 license. The license file contains the BSD3 verbiage.


We are grateful for NASA Contract NNL08AD13T to Galois, Inc and the National Institute of Aerospace, which partially supported this work.