Keep in a pick only what reads of its name address, look frames up on the stack alone, and refuse a name read once whole

This commit is contained in:
2026-10-03 02:36:12 +02:00
committed by Lillem4n
parent 685e7bb27c
commit b1aed332e7
15 changed files with 455 additions and 231 deletions
+3 -3
View File
@@ -27,9 +27,9 @@ package fejkdata
// an expansion holds a sibling path's head and an operand's field, its draw
// group a reference path's: `formatOps.held` and `heldCheck` an expansion's,
// `readReference` a draw group's.
// - named pick — one draw of a reference a binding token, {ref as n}, gives a name, kept for one
// render of the scope it is bound in, a category or a repeat iteration, and drawn on its
// first read: `nameBinding`, `nameScope`, `namedPick`, `pickFrame`.
// - named pick — the draw a token such as {/person as p} binds to a name. It is drawn on its
// first read and kept while its scope renders: a category, or one repeat iteration.
// `nameBinding`, `nameScope`, `namedPick`, `pickFrame`.
// - memo — what a hold, a draw group or a named pick keeps its draws in, the variant drawn at
// each level and the value each path read: `drawMemo`, `readMemo`.
// - draw group — reference draws kept apart inside one render: