copilot-c99: A compiler for Copilot targeting C99.

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

This package is a back-end from Copilot to the Atom DSL.

Copilot is a stream (i.e., infinite lists) domain-specific language (DSL) in Haskell that compiles into embedded C. Copilot contains an interpreter, multiple back-end compilers, and other verification tools. A tutorial, bug reports, and todos are available at https://github.com/niswegmann/copilot-discussion.

Examples are available at https://github.com/leepike/Copilot/tree/master/Examples.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 3.0, 3.0.1, 3.0.2, 3.1, 3.1.1, 3.1.2, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14, 3.15, 3.16, 3.16.1, 3.17, 3.18, 3.18.1, 3.19, 3.19.1, 3.20, 4.0 (info)
Dependencies atom (>=1.0.10), base (>=4.3 && <5), bytestring, bytestring-csv, containers (>=0.4), copilot-core, directory (>=1.1), pretty (>=1.0), process (>=1.0), QuickCheck (>=2.4), random (>=1.0), text (>=0.6) [details]
License BSD-3-Clause
Author Lee Pike , Robin Morisset , Alwyn Goodloe , Sebastian Niller , Nis Nordby Wegmann
Maintainer leepike@galois.com
Category Language, Embedded
Source repo head: git clone git://github.com/niswegmann/copilot-c99.git
Uploaded by LeePike at 2012-03-02T03:57:39Z
Distributions LTSHaskell:3.19.1, Stackage:4.0
Reverse Dependencies 8 direct, 0 indirect [details]
Executables copilot-c99-qc
Downloads 14963 total (86 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for copilot-c99-0.2.5

[back to package description]

Overview

This package is a Copilot back-end that targets Atom http://hackage.haskell.org/package/atom. Atom is a Haskell DSL that generates real-time C code.

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.

Examples

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.

Installation

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-c99

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

     cabal install copilot

Dependencies

copilot-c99 depends on the Atom to generate hard real-time C code.

Resources

copilot-c99 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.

Thanks

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