# moon-gpui A port of [GPUI](https://github.com/zed-industries/zed/tree/main/crates/gpui), the GPU-accelerated UI framework of the Zed editor, to [MoonBit](https://www.moonbitlang.com). Status: **early**. The pure-logic foundation is in place; nothing renders yet. See [docs/PORTING.md](docs/PORTING.md) for the architecture mapping and the roadmap. | Package | GPUI source | Status | | --- | --- | --- | | `experiments/gpui/geometry` | `geometry.rs`, `ContentMask` | Ported (units, Point/Size/Bounds/Edges/Corners, lengths) | | `experiments/gpui/color` | `color.rs` | Ported (Rgba/Hsla, hex parsing, Background) | | `experiments/gpui/scene` | `scene.rs`, `bounds_tree.rs` | Ported (primitives, draw ordering, layers, batching, replay) | All packages are pure MoonBit and are tested on every backend: ```sh moon check --target all moon test --target all moon fmt ``` ## License Apache-2.0, like GPUI itself. See [LICENSE](LICENSE) and [NOTICE](NOTICE).