Interpreter for Copilot.
Interpreter for Copilot.
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, examples, and other information are available at https://copilot-language.github.io.
Copilot: a stream DSL
The interpreter, which evaluates Copilot specifications and prints their results over time.
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 (with the library copilot-interpreter), 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.
Installation
Copilot-interpreter 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: https://copilot-language.github.io
License
Copilot is distributed under the BSD-3-Clause license, which can be found here.