Record that goal 5.1 counts the doubled-brace escape and a lone } as template syntax

This commit is contained in:
2026-10-05 16:31:27 +02:00
committed by Lillem4n
parent c55b296385
commit 7ce34ba1fc
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -113,3 +113,4 @@ In [docs/decisions.md](docs/decisions.md):
- A name lives in the category binding it, or in the repeat binding it, and is drawn on its first read
- comprehension floor: every dimension and the overall at 7.0 or above; item 5 scores the restructure, which ships unscored: every `{…}` drawing afresh, the moves into `internal/`, and items 101, 102 and 104 to 106
- The template engine stays the root package until item 107; what reads no engine type sits in `internal/`, and items 101 and 102 move a table's rows there
- Goal 5.1 counts `{{`, `}}` and a lone `}` as template syntax, so they are not text printed as written
+8
View File
@@ -841,3 +841,11 @@ value, the builtins and the reading of data files read no engine type, so each s
package under `internal/`, behind the import list `imports_test.go` checks. A
table's rows stop reading any engine type once items 101 and 102 remove those reads; item
102 then moves them into `internal/rows` and adds it to that list. Valid until `todo.md` item 107 moves the engine.
## Goal 5.1 counts `{{`, `}}` and a lone `}` as template syntax, so they are not text printed as written
2026-10-05, Lilleman auf Larv. Serves goal 5.1. Goal 5.1 says everything outside `{…}` prints
exactly as written, yet `{{` prints `{`, `}}` prints `}`, and a lone `}` is a load error naming
`}}`, as the README's Format string section states. The maintainer ruled the escape implicit in the
goal: the braces belong to the `{…}` syntax, so the goal names no exception and a lone `}`
stays an error. Valid while a template escapes a brace by doubling it.