copilot
840
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Haskell
语言
—
创建时间
最近更新
项目能做什么
Copilot 是一个基于 Haskell 的硬实时系统运行时验证框架。它解决嵌入式和硬实时系统在运行时的安全监测与正确性验证难题。核心功能支持用流式语言编写高级规范,并能将其生成时间与内存恒定的 C99 监控代码,同时提供测试解释器和定理证明支持。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center"> # Copilot [](https://github.com/Copilot-Language/copilot/actions/workflows/build.yml) [](https://hackage.haskell.org/package/copilot) Copilot is a runtime verification framework for hard real-time systems. Programs can be interpreted for testing, or translated into C99 code to be incorporated into a project or standalone application. The C99 code generated is constant in memory and time, making it suitable for systems with hard real-time requirements. [Installation](#installation) • [Examples](#examples) • [Related projects](#related-projects) • [Documentation](#documentation) • [Contributions](#contributions) • [Acknowledgements](#acknowledgements) </div> ## Features - Write simple, high-level specifications using a stream-based language. - Produce hard real-time C99 runtime monitors that run in constant memory and time. - Catch errors in specifications early using an expressive static type system. - Prove properties about specifications using theorem proving extensions. - Interpret specifications for testing and debugging purposes. - Obtain proofs of correctness of the generated code. ## Table of Contents - [Installation](#installation) - [Linux installation](#linux-installation) - [Mac installation](#mac-installation) - [Troubleshooting](#troubleshooting) - [Examples](#examples) - [Related projects](#related-projects) - [Documentation](#documentation) - [API documentation and tutorials](#api-documentation-and-tutorials) - [Publications](#publications) - [Website](#website) - [Contributions](#contributions) - [Acknowledgements](#acknowledgements) - [The Copilot team](#the-copilot-team) - [Institutional support](#institutional-support) # Installation <sup>[(Back to top)](#table-of-contents)</sup> ## Linux installation <sup>[(Back to top)](#table-of-contents)</sup> ### Debian Bookworm / Ubuntu 23.04 On Debian Bookworm / Ubuntu 23.04 or newer, Copilot can be installed directly from the package repositories with: ```sh $ sudo apt-get install libghc-copilot-dev ``` To test that Copilot is available, execute the following: ```sh $ ghci <<< 'import Language.Copilot' ``` It should end with a line like the following and not print any error messages: ```sh ghci> ghci> Leaving GHCi. ``` ### Fedora 40 On Fedora 40 or newer, Copilot can be installed directly from the package repositories with: ```sh $ sudo dnf install ghc-copilot-devel ``` To test that Copilot is available, execute the following: ```sh $ ghci <<< 'import Language.Copilot' ``` It should end with a line like the following and not print any error messages: ```sh ghci> ghci> Leaving GHCi. ``` ### Other Linux distributions On other Linux distributions or older Debian-based distributions, to use Copilot, you must install a Haskell compiler (GHC) and the pac阅读完整原文
项目深度分析 AI 生成
嵌入式功能安全(ISO 26262 / DO-178C)合规加速包与认证咨询
| 产品构想 | 基于 Copilot 生成的 C99 运行时监控代码,提供符合汽车或航空高等级安全标准的验证证明文档、测试套件与合格性支持套件(QKit)。 |
| 核心功能 | 形式化验证证据链自动生成、MISRA-C 兼容性静态检查封装、针对标准标准的测试用例覆盖率报告。 |
| 目标用户 | 汽车电子 Tier 1 供应商、航天器/无人机飞控系统开发团队。 |
| 难度/周期 | 高 · 6-12个月 · 成本:中等(主要为合规标准购买、工具链测试环境与资质认证成本) |
| 收费模式 | 企业授权费(按项目或座位计费)+ 专项合规咨询服务费。 |
| 竞争风险 | 独立开发者难以独立承担高标准的法律责任与资质背书;B端采购周期极长。 |
| 依据 | 推测 |
面向 ROS 2 / 嵌入式 Linux 的实时安全监控桥接工具与仪表板
| 产品构想 | 封装 Copilot 的 Haskell 门槛,提供图形化或声明式 YAML 规约定义界面,自动生成监控节点并无缝集成到 ROS 2 / 实时嵌入式 Linux 工作流。 |
| 核心功能 | 简化DSL(替代直接编写Haskell)、ROS 2 Topic 实时监测节点生成、违背规则时的降级/报警触发接口。 |
| 目标用户 | 自动驾驶/机器人研发团队、工业机器人方案集成商。 |
| 难度/周期 | 中等 · 3-6个月 · 成本:低(基础开发工具与测试硬件) |
| 收费模式 | 双许可(基础开源,高级协议/商业部署收费)或按节点订阅制。 |
| 竞争风险 | 实时系统研发人员习惯手写 C/C++ 状态机,对引入外挂 RV 框架的接受度有限。 |
| 依据 | 推测 |
关键基础设施/无人机领域的定制安全监视器与集成服务
| 产品构想 | 以咨询和方案解决商模式,针对特定硬件(如 PX4 飞控、STM32/RISC-V 工业控制板)提供交钥匙的运行时安全监控定制开发。 |
| 核心功能 | 常见故障模式(越界、传感器漂移、时序异常)监控规约编写、硬件在环(HIL)验证、C99 监控代码轻量化集成。 |
| 目标用户 | 工业自动化厂商、商用无人机制造商、物联网边缘网关厂商。 |
| 难度/周期 | 中等 · 2-4个月/项目 · 成本:低(主要为人月工时) |
| 收费模式 | 高单价项目制工程服务费。 |
| 竞争风险 | 依赖深度领域专家知识(Domain Knowledge),交付非标,难以快速规模化。 |
| 依据 | 推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 24 个 Release |
| 社区活跃 | Star 840 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。