Dezyne 编程语言参考手册
本文档是 Dezyne 2.18.3 版本的参考手册,主要介绍了 Dezyne 编程语言。内容涵盖了 Dezyne 的核心概念,如并发性、组件化、模型驱动和契约式设计。手册详细阐述了安装、快速入门、执行语义、形式化验证、防御性设计和代码集成等内容,并提供了 Dezyne 命令行工具的使用说明。此外,还包含了 Dezyne 语言的详细参考,包括词法分析、类型、接口、组件、系统和命名空间等,以及关于代码风格和贡献的指南。
Dezyne 参考手册
Dezyne
本文档描述的是 Dezyne 2.18.3 版本。
目录
- 1 导论
- 2 思想和概念
- 3 安装
- 4 快速入门
- 5 执行语义
- 6 形式化验证
- 7 防御性设计
- 8 代码集成
- 9 Dezyne 命令行工具
- 10 Dezyne 语言参考
- 10.1 词法分析
- 10.2 Dezyne 文件
- 10.3 类型和表达式
- 10.4 接口
- 10.5 组件
- 10.6 系统
- 10.7 Namespaces
- 11 良好形式
- 11.1 Well-formedness Checks Categories
- 11.2 List of Well-formedness Checks
- 11.3 Well-formedness – Top level
- 11.4 Well-formedness – Directional
- 11.5 Well-formedness – Nesting
- 11.6 Well-formedness – Mixing
- 11.6.1 Declarative statement expected
- 11.6.2 Imperative statement expected
- 11.6.3 Cannot use
otherwise
guard more than once - 11.6.4 Cannot use
otherwise
guard with non-guard statements - 11.6.5 Cannot use
illegal
with imperative statements - 11.6.6 Cannot use
illegal
inif
-statement - 11.6.7 Cannot use
illegal
in function
- 11.7 Well-formedness – Reply
- 11.8 Well-formedness – Valued Actions and Calls
- 11.9 Well-formedness – Injection
- 11.10 Well-formedness – Functions
- 11.11 Well-formedness – Data Parameters
- 11.12 Well-formedness – System
- 11.12.1
port
not bound - 11.12.2
port
not bound – ofinstance
- 11.12.3
port
is bound more than once - 11.12.4 Cannot bind port to port
- 11.12.5 Cannot bind two wildcards
- 11.12.6
instance
in in a cyclic binding - 11.12.7 Cannot bind wildcard to
requires
port - 11.12.8 System composition is recursive
- 11.12.9 Cannot bind
external
port to non-external
port
- 11.12.1
- 12 贡献