Generate — CNL in, verified code out¶
Edit the decisions (your business and UX rules, in their own vocabularies), turn the knobs, and press Run. The engine reasons across the blocks, composes the derived features with grammapy, and emits a real Textual app — the generated source appears below, exactly what the playground drives headlessly to verify. No model is involved: every line traces to a rule.
(First run downloads the engine into your browser — a few seconds, one time. Everything then runs locally, no server.)
The library port — read-only (swap this to re-target a different toolkit)
The library port (the Textual widget facts + the bridge crosswalk) is held fixed here — it is the part you swap to re-target a different toolkit, while these same business/UX decisions drive it. See the case for the re-target measured end-to-end.
Things to try: switch the customer to basic (the discount and its highlight drop); drop the order spend below the threshold (a premium customer stops qualifying); tick irreversible (the UX rule obliges a confirm step and the whole screen shape flips). Every change re-derives the code, with the reasoning behind it auditable.