This repo includes papers and technical reports on Copilot, 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.
A main starting point is the Copilot website.
You can obtain the latest version of the Copilot tutorial here.
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.
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.