copilot-c99: A compiler for Copilot targeting C99.

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

This package is a back-end from Copilot to C.

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

Examples are available at

[Skip to Readme]
Versions [faq] 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
Dependencies base (>=4.9 && <5), containers (>=0.4 && <0.7), copilot-core (>=3.0.1 && <3.1), directory (==1.3.*), filepath (==1.4.*), language-c99 (>=0.1.1 && <0.2), language-c99-simple (>=0.1.1 && <0.2), language-c99-util (>=0.1.1 && <0.2), mtl (==2.2.*), pretty (==1.1.*) [details]
License BSD-3-Clause
Author Frank Dedden , Alwyn Goodloe
Maintainer Frank Dedden <>
Category Language, Embedded
Source repo head: git clone git://
Uploaded by frankdedden at Sun May 12 20:45:02 UTC 2019
Distributions NixOS:3.0.2
Downloads 5402 total (142 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-05-12 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for copilot-c99-3.0.2

[back to package description]

Build Status

Copilot: a stream DSL

Copilot-c99 implements a C99 backend for Copilot, producing high quality code suitable for hard realtime applications.

Copilot is a runtime verification framework written in Haskell. It allows the user to write programs in a simple but powerful way using a stream-based approach.

Programs can be interpreted for testing, or translated C99 code to be incorporated in a project, or as a standalone application. The C99 backend ensures us that the output is constant in memory and time, making it suitable for systems with hard realtime requirements.


Copilot-c99 can be found on Hackage. It is typically only installed as part of the complete Copilot distribution. For installation instructions, please refer to the Copilot website.

Further information

For further information, install instructions and documentation, please visit the Copilot website:


Copilot is distributed under the BSD-3-Clause license, which can be found here.