attributes: @Tint(SLOT) on a colour field, into the schema - SLOT must be a constant that exists (a row of the program's tint-slot registry); reseeded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 18:51:27 +03:00
parent 34c2ac2cb9
commit b5bffe99fa
8 changed files with 71123 additions and 70774 deletions

View file

@ -1,6 +1,7 @@
# attributes: @Node / @Clip name a field of its record that names a glTF - `handle` names no field,
# `tag` is a plain string, `kit` refers to a registry whose record has two models - and a listing
# @OneOf names constants that exist, which KITS_NONE is not (all five are reported)
# @OneOf and @Tint name constants that exist, which KITS_NONE and TSLOT_NONE are not (all six are
# reported)
program R {
property Kit {
key: string = ""
@ -16,6 +17,7 @@ program R {
@Node(kit) hook: string = ""
@Clip(tag) swing: string = ""
@OneOf(KITS_COUNT, KITS_NONE) which: int = 0
@Tint(TSLOT_NONE) shade: int = 0
}
entry { print(KITS_COUNT) }
}