Merge lang/schemacode (R7, d39a27a) into lang/editortools, so R9 lands after R7 with nothing to resolve: no conflicts (LANGUAGE.md and test.ludic merged), selfhost/ is R7's (its seeds; bootstrap-cfree fixpoint holds)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
eb0d3b1846
12 changed files with 114844 additions and 95362 deletions
12
changes/schema-code.md
Normal file
12
changes/schema-code.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
bump: minor
|
||||
type: feature
|
||||
**`ludic schema` carries the code map: a `"code"` section.** Beside the records, registries and
|
||||
`lang`, the schema now lists what an editor's code map needs, from the compiler's own reading:
|
||||
`modules` (uses, layer, friend, files), `states`, `actions`, `reducers` and every `dispatch`, `events`
|
||||
(cancellable, net) with every `emit` and their `@On` listeners, `ports` (members with their `fn`
|
||||
types and defaults) and `binds` (port, member, the function named, where), `handlers` (phase, hook
|
||||
and what it names, `@Public`, `@Server` / `@Predicted`, `@Queries` with their filters, the scene and
|
||||
layer), `models` (`@Owned`, `@Sync`), `prefabs`, `scenes` (start, shows, lasts / loads and what
|
||||
follows, layers) and `fn_refs` - every `fn name` in code or in a resource file, with the slot it
|
||||
fills (a registry's field and row, a port's member, a record field, an argument, ...). Every place
|
||||
is `"file:line:col"`; the rest of the schema is unchanged, so `schema_version` stays 1.
|
||||
Loading…
Add table
Add a link
Reference in a new issue