A compiled, native programming language whose surface syntax and type system are intentionally aligned with Sui Move (Move Book, Move Reference), lowering to LLVM IR instead of Sui bytecode.
This is not a drop-in replacement for on-chain Move: storage objects, transaction context, and the Sui runtime are out of scope for v0. The goal is syntax and semantic familiarity for Move developers plus AOT compilation to machine code.
| Layer | Choice |
|---|---|
| Language | Move-compatible surface (modules, structs, abilities subset, generics, control flow) |
| Implementation | Rust 1.94 (rust-version in workspace) |
| Backend | LLVM (pin to a supported release, e.g. LLVM 19/20; see docs/ARCHITECTURE.md) |
| Frontend | 自研 lexer + parser (Move Reference 为规范基准,不依赖 Sui move-compiler 解析器) |
| Repo layout | rustc-style Cargo workspace: many small crates, clear phase boundaries |
cargo build --workspace- Mvpm(
mvpm):见docs/MVPM.md。 - examples/ — 含 Hello CLI(
debug::print)与 Hello HTTP(http::serve_text),以及 01–05 解析基准;说明见examples/README.md。 - 宿主运行时:
library/sui_llvm_rt(sui_rt_print_utf8、sui_rt_http_serve_text等)。
- docs/IMPLEMENTATION_THREADS.md — 五条并行实现线(RT / HIR / codegen / 驱动 / move-std)。
- docs/STDLIB.md — 标准库设计(参考 Rust
core/alloc/std:原语、集合、网络、HTTP 等)。 - move-std/ — 标准库源码树占位(
crates/core|alloc|std)。 - docs/ARCHITECTURE.md — compiler phases, crate graph, LLVM strategy, Sui alignment.
- docs/TASKS.md — 五条并行工作流任务清单与进度勾选项。
- The Move Book
- The Move Reference
- 与 Sui 官方行为对照时,用黑盒 fixture(同一
.move在sui move build与本编译器下的预期)即可,不必链接其 AST。