ludic schema: a components section and a natives list (R4)
Each UI component: module, place, doc, xml and lss paths, props and state (type, default as written, place, doc), states_read (the header's states), derived fields with their types, functions and events as the template calls them (states and instance stripped), and the native tags its template uses. natives: every ui_native / ui_native_input call with a literal tag - tag, via, handler, place. schema_version stays 1; the lists are additions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
28f7b4666b
commit
281ebc23e1
11 changed files with 80436 additions and 71227 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Counter.ludic — a component: what it takes (props), keeps (state), works out and does
|
||||
component Counter {
|
||||
prop label: string
|
||||
prop step: int = 1
|
||||
prop step: int = 1 # how much one press adds
|
||||
state count: int = 0
|
||||
doubled: int = count * 2
|
||||
function big() -> bool { return count > 3 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue