文档
从基础开始学习 Hew。
从这里开始
核心概念
Actor 模型 EN
Actors、mailboxes 和消息传递
类型系统 EN
类型、泛型、capabilities 和模式匹配
标准库 EN
内建类型:string, Vec, HashMap, Iterator, IO
测试 EN
内建 #[test], assert_eq 和 assert——无需框架
状态机
带受检转换的一等 machine/state/events 声明
编辑器支持 EN
LSP server、tree-sitter grammar 和 VS Code extension
软件包 EN
创建项目、从源码使用官方软件包,并检查注册表兼容性
Core concepts EN
Ownership, affine values, actor isolation, message transfer, lifecycle, and structured concurrency.
Authority confinement EN
Supply services to actors and functions, and check their authority with Hew v0.9.3.
工具与内部机制
对比
参考
语言规范 EN
正式 EBNF grammar 和语言语义参考
语法浏览器 EN
带 railroad diagrams 的交互式 EBNF grammar
Released language and API reference EN
Search the released language guides, standard-library modules, symbols, and exact signatures.
Hew Playground mobile guides
Illustrated iPhone, iPad and Android instructions for examples, editing, running, saving and sharing code. English.
Hew Observe guides EN
Desktop, iPad, terminal and browser guides, screenshots and an illustrated user manual
快速参考表
可打印的双面参考表,涵盖常用语法、actor、并发、wire 类型和状态机