Expose the native widget surface through ordinary typed TSX components and enforce application composition at generic export and entry boundaries. Migrate maintained screens, scaffolds, gallery publication and editor transport through the common checked IR path. Preserve native logic, retained component state, input and platform hosts; remove the pixmap application route. Local validation: complete make push-check passed with published Ziran dc3ecf0a, including docs, public source/saved surface, private-display desktop input, native host links and Canvas input parity. Fresh CLI/player/desktop library installed and byte-verified. The full migration matrix records remaining owning suites, published consumer pins, platform runs and Alpha benchmarks; this is a source milestone, not completion of the full campaign.
38 lines
4.3 KiB
HTML
38 lines
4.3 KiB
HTML
<!DOCTYPE html>
|
|
<!-- Generated by scripts/feature-matrix-html.py. DO NOT EDIT MANUALLY. -->
|
|
<html><head><meta charset="utf-8">
|
|
<title>Kryon Feature Matrix</title>
|
|
<style>
|
|
body{font-family:system-ui,sans-serif;max-width:1100px;margin:2rem auto;padding:0 1rem;color:#1a1a1a;background:#fafafa}
|
|
h1{border-bottom:3px solid #333;padding-bottom:.4rem} h2{margin-top:2.2rem;border-bottom:1px solid #ccc;padding-bottom:.25rem}
|
|
h3{margin-top:1.6rem;color:#333}
|
|
table{border-collapse:collapse;margin:1rem 0;font-size:.92rem;width:100%}
|
|
th,td{border:1px solid #bbb;padding:.42rem .6rem;text-align:left;vertical-align:top}
|
|
th{background:#2b2b2b;color:#fff;position:sticky;top:0}
|
|
tr:nth-child(even) td{background:#f2f2f2}
|
|
td.ok{background:#d9f2dd !important} td.part{background:#fdeebc !important}
|
|
td.no{background:#fbd5d2 !important} td.na{background:#e8e8e8 !important;color:#888}
|
|
code{background:#eee;padding:.08rem .3rem;border-radius:3px;font-size:.85em}
|
|
pre{background:#222;color:#ddd;padding:1rem;border-radius:6px;overflow-x:auto}
|
|
li{margin:.25rem 0}
|
|
</style></head><body>
|
|
<h1>Kryon feature matrix</h1>
|
|
<p>This table describes the native Ziran library and hosts. Applications compose Kryon widgets in TSX and import Ziran application logic through checked native declarations. Ziran owns compilation and portable <code>.zx</code> execution. See <a href="ARCHITECTURE.md">ARCHITECTURE.md</a> and <a href="BACKENDS.md">BACKENDS.md</a> for the module and host boundaries.</p>
|
|
<h2>Library packages</h2>
|
|
<table>
|
|
<tr><th>Package</th><th>Ziran source</th><th>Native code generation</th><th>Package verification</th></tr>
|
|
<tr><td class="">Core UI (<code>src/ui</code>)</td><td class="ok">✅ <code>.zi</code> modules listed in <code>modules.txt</code> and named package exports</td><td class="ok">✅ C and Go generation in <code>make</code></td><td class="ok">✅ <code>make test</code> builds the library and runs source, saved <code>.zir</code>, and <code>.zx</code> behavior tests</td></tr>
|
|
</table>
|
|
<p>The generated C archive is a build output of Ziran source. Behavior tests use Ziran hosts in <code>tests/*_host.zi</code>. Code generation verifies that a module lowers for a target; it does not prove that every native host runs on that target.</p>
|
|
<p>Core UI includes measured flex/grid layout (<code>src/ui/layout.zi</code>), the style sheet with structural selectors and sibling combinators (<code>src/ui/style_tree.zi</code>) and gradient box painting (<code>src/ui/layout_paint.zi</code>); the supported CSS subset and remaining browser-only features are documented in <a href="HTML_TO_KRYON.md#4-kryon-css-support-kryonlabscss">HTML_TO_KRYON.md</a>.</p>
|
|
<h2>Application hosts</h2>
|
|
<table>
|
|
<tr><th>Backend</th><th>Implementation</th><th>Input and presentation verification</th><th>Current status</th></tr>
|
|
<tr><td class="">Terminal</td><td class=""><code>src/backend/frames_terminal.zi</code></td><td class="">Private PTY project test covers ASCII, UTF-8, invalid input, and escape sequences</td><td class="ok">✅ supported</td></tr>
|
|
<tr><td class="">Desktop</td><td class=""><code>src/backend/frames_desktop.zi</code></td><td class="">Private Xvfb project test covers image capture, keyboard, UTF-8 text, and wheel input</td><td class="ok">✅ supported on the tested Linux host</td></tr>
|
|
<tr><td class="">Web Canvas</td><td class=""><code>src/backend/frames_web.zi</code></td><td class="">Headless Chromium checks WebGL2 pixels, clips, input, textures, fonts, lifecycle, WebAudio, and file behavior</td><td class="ok">✅ supported through Emscripten on the tested browser</td></tr>
|
|
<tr><td class="">Android</td><td class="">TSX application entry + <code>src/backend/android_run.zi</code></td><td class=""><code>tests/ziran_android_device_test.sh</code> checks the device text, lifecycle, and inset protocol with the Java side stubbed; a manual emulator run verifies install, rendering, touch, and back</td><td class="ok">✅ supported through NativeActivity with direct ANativeWindow pixel presentation</td></tr>
|
|
</table>
|
|
<p>The desktop project test (<code>make desktop-project-test</code>) uses a private Xvfb display. The canvas project test runs in <code>make test</code> and launches only private headless Chromium. <code>make zx-window-test</code> covers bare-window bundles through the native desktop player and host library. Code generation alone does not establish platform execution.</p>
|
|
</body></html>
|