attributes: @Node(field), @Derived, @Text, @Multiline and @Key on a field, into the schema - @Node's field must be @Asset("gltf") or an @Ref to a registry whose record has exactly one, every failure reported; reseeded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 18:31:17 +03:00
parent b647964839
commit ebfbabdfd8
10 changed files with 73439 additions and 71415 deletions

View file

@ -0,0 +1,18 @@
# attributes: @Node names a field of its record that names a glTF - `handle` names no field, `tag`
# is a plain string, and `kit` refers to a registry whose record has two models (all three are reported)
program R {
property Kit {
key: string = ""
@Asset("gltf") body: string = ""
@Asset("gltf") lod: string = ""
}
registry Kits of Kit
property Tool {
tag: string = ""
@Ref(Kits) kit: int = 0
@Node(handle) grip: string = ""
@Node(tag) tip: string = ""
@Node(kit) hook: string = ""
}
entry { print(KITS_COUNT) }
}