Answer item 162: a name is a lexical closure, two spellings stay refused for their two readings, and items 164 to 166 plan the three that load

This commit is contained in:
2026-10-09 10:41:54 +02:00
committed by Lillem4n
parent 221ce82e43
commit bad74f95cd
3 changed files with 26 additions and 8 deletions
+4 -2
View File
@@ -544,7 +544,8 @@ in a cell draws digits and `{/misc.uuid}` reads a reference, while `{name}` in a
is refused, since a cell has no sibling. Each cell may select its own row of another
table, `{/misc.currency[SEK].symbol}` on one row and `{/misc.currency[EUR].symbol}`
on the next, since only one row renders. `New` proves the header, the options and every
cell token, and refuses a key that is empty or repeats, a weight that is negative, not
cell token, and refuses a JSON key other than `format`, `rows`, `key`, `name`, `weight` and `parent`,
which could be a field or an option a table does not take, a key that is empty or repeats, a weight that is negative, not
a number or too close to `0` to tell from it, every weight `0` across the table or inside one parent row, and a key or name holding `[`, `]`, `{`, `}`,
`"` or `|`, which a selector cannot spell; `New` maps the keys, and a name or parent column
is mapped on the first draw that selects by name or descends through the table. A `name` needs a `key`, since a name naming several rows is reported by
@@ -786,7 +787,8 @@ Refused at `New`, each error naming what to write instead:
- a read of a name inside the field bound to it: read it outside that field;
- reading a name outside the choice item that binds it, since the other items leave it
unbound;
- a path through a name that selects a row;
- a path through a name that selects a row, which could mean that row whatever the name
picked, or that row only inside it;
- `{n}` beside `{n.w}` where `n`'s category reads `w` twice, as in `{w}-{w}` or
`{w.a} {w.b}`;
- a binding in a table's format or cell.