docs/language: a page for every keyword and attribute the vocabulary has

Keywords: module uses friend export internal numbers unsafe mut port bind action
reducer registry of as from def open alias component prop view (structure),
shows lasts then loads (scenes), system (ecs), dispatch (control), true false
null (operators). Attributes: @Ref @OneOf @Range @Unit @Asset @Color, @Node /
@Clip / @Material, @Tint @Derived, @Text / @Multiline, @Key, @AppendOnly /
@ByKey, @PerMap / @Chunked, @frame @max, @owns / @creates / @releases,
@deterministic @alloc_ok. Each is in tools/docgen/inventory.json; every fence
that is not marked skip parses (ludicc --fmt). annot-clearcolor's token loses its
quotes, which no reader strips.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 23:59:47 +03:00
parent eb2d6106af
commit e2528c1b10
49 changed files with 746 additions and 7 deletions

View file

@ -25,7 +25,25 @@
"annot-system",
"annot-enginesystem",
"annot-namespace",
"annot-clearcolor"
"annot-clearcolor",
"annot-alloc_ok",
"annot-appendonly",
"annot-asset",
"annot-color",
"annot-derived",
"annot-deterministic",
"annot-frame",
"annot-key",
"annot-max",
"annot-node",
"annot-oneof",
"annot-owns",
"annot-permap",
"annot-range",
"annot-ref",
"annot-text",
"annot-tint",
"annot-unit"
],
"builtins": [
"fn-print",
@ -86,7 +104,8 @@
"kw-machine",
"kw-state",
"kw-become",
"kw-try"
"kw-try",
"kw-dispatch"
],
"ease": [
"ease-in",
@ -119,7 +138,8 @@
"fn-world_register_prop",
"fn-world_attach_dyn",
"fn-world_detach_dyn",
"fn-world_query_next"
"fn-world_query_next",
"kw-system"
],
"events": [
"kw-event",
@ -211,7 +231,8 @@
"op-access",
"op-interp",
"op-literals",
"op-comment"
"op-comment",
"kw-true"
],
"phases": [
"phase-fixedupdate",
@ -240,7 +261,11 @@
"kw-on",
"kw-enter",
"kw-exit",
"kw-start"
"kw-start",
"kw-lasts",
"kw-loads",
"kw-shows",
"kw-then"
],
"screen": [
"screen-clear",
@ -276,7 +301,29 @@
"kw-extern",
"kw-ui",
"kw-enum",
"kw-namespace"
"kw-namespace",
"kw-action",
"kw-alias",
"kw-as",
"kw-bind",
"kw-component",
"kw-def",
"kw-export",
"kw-friend",
"kw-from",
"kw-internal",
"kw-module",
"kw-mut",
"kw-numbers",
"kw-of",
"kw-open",
"kw-port",
"kw-prop",
"kw-reducer",
"kw-registry",
"kw-unsafe",
"kw-uses",
"kw-view"
],
"system": [
"system-run",