No project used the dom profile, and it added a second browser host to maintain beside Canvas. This removes dom_host, dom_tree, dom_paint, dom_run and dom_app_run, the dom profile in the project tool, docs/dom.md, and the DOM tests and their three make targets. The shared browser code loses its DOM branches: page_events no longer tells a DOM host about presses, blur and document layout, page_core and page_texture drop the native DOM flag and the img decode kept for it, and CanvasAppMainLoop takes no argument. The web template builds a Canvas2D page. The cursor and rotated text tests cover the Canvas profile only.
38 lines
4.1 KiB
HTML
38 lines
4.1 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 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 <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 two public import modules</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>
|
|
<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/terminal_run.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/desktop_run.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="">Raylib</td><td class=""><code>src/backend/raylib_run.zi</code></td><td class="">Private Xvfb project test covers image capture and input</td><td class="ok">✅ supported on the tested Linux host</td></tr>
|
|
<tr><td class="">Web Canvas</td><td class=""><code>src/backend/canvas_run.zi</code></td><td class="">Headless Chromium checks Canvas2D 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="">app <code>src/main.zi</code> + <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 raylib OpenGL ES 2</td></tr>
|
|
</table>
|
|
<p>The desktop and raylib project tests run separately with <code>make desktop-project-test</code> and <code>make raylib-project-test</code>; they must use a private Xvfb display. CI runs both on every push in their own job. The Canvas2D project test runs in <code>make test</code> and launches only private headless Chromium.</p>
|
|
</body></html>
|