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.
1.2 KiB
Repository boundaries
| Owner | Code and data |
|---|---|
| Ziran | Language, compiler, standard library, .zir, .zx, and generic host capabilities |
| Kryon | Reusable Ziran UI modules, widget decisions, and UI hosts |
| Applications | Screens, copy, translations, assets, data storage, migrations, and product workflows |
Kryon is imported by applications. It is not linked into programs that never import it, and the Ziran compiler does not special case widgets. A generic capability missing from the language belongs in Ziran. A reusable UI choice belongs in Kryon. A product-specific behavior belongs in the application.
Kryon's graphical host owns platform windows, input events, and presentation. Its widget modules own focus, pointer capture, layout, semantics, and paint decisions. The host may call native libraries through declared Ziran foreign bindings, but must not duplicate widget policy.
Make upstream Kryon changes on master and commit them there. A downstream
app picks them up by updating its ziran.lock. Never edit
Kryon's source inside an application. See ARCHITECTURE.md
for source modules and PROJECTS.md for package use.