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