Files
kryon/docs/FEATURE_MATRIX.md
T
waozi 216c190c43 Document only current Kryon APIs and website pages
Remove raylib paths, obsolete import and preview guidance, migration prose,
and orphaned documents/pages. Align widget imports, native ZX windows and
host contracts with the current implementation, and enforce current site routes.
2026-11-16 21:43:18 -03:00

2.2 KiB

Kryon feature matrix

This table describes the maintained Ziran library and hosts. Kryon is imported by a Ziran application; it is not a language or a built-in Ziran runtime. Ziran owns compilation and portable .zx execution. See ARCHITECTURE.md and BACKENDS.md for the module and host boundaries.

Library packages

Package Ziran source Native code generation Package verification
Core UI (src/ui) ✅ .zi modules listed in modules.txt and named package exports ✅ C and Go generation in make ✅ make test builds the library and runs source, saved .zir, and .zx behavior tests

The generated C archive is a build output of Ziran source. Behavior tests use Ziran hosts in tests/*_host.zi. Code generation verifies that a module lowers for a target; it does not prove that every native host runs on that target.

Application hosts

Backend Implementation Input and presentation verification Current status
Terminal src/backend/terminal_run.zi Private PTY project test covers ASCII, UTF-8, invalid input, and escape sequences ✅ supported
Desktop src/backend/desktop_run.zi Private Xvfb project test covers image capture, keyboard, UTF-8 text, and wheel input ✅ supported on the tested Linux host
Web Canvas src/backend/canvas_run.zi Headless Chromium checks Canvas2D pixels, clips, input, textures, fonts, lifecycle, WebAudio, and file behavior ✅ supported through Emscripten on the tested browser
Android app src/main.zi + src/backend/android_run.zi tests/ziran_android_device_test.sh checks the device text, lifecycle, and inset protocol with the Java side stubbed; a manual emulator run verifies install, rendering, touch, and back ✅ supported through NativeActivity with direct ANativeWindow pixel presentation

The desktop project test (make desktop-project-test) uses a private Xvfb display. The Canvas2D project test runs in make test and launches only private headless Chromium. make zx-window-test covers bare-window bundles through the native desktop player and host library. Code generation alone does not establish platform execution.