reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

nested_curly_braces

reqlan rq/language/syntax-edge-cases.rq:1

Katz 0.108

if there is a prose block containing curly braces, { such as this one } they should be treated as part of the prose.
Matching braces that end a line — including adjacent pairs like { { SITE_URL } } — stay in the body; they must not close the enclosing idea.
A lone `}` on its own line still closes the structural block so an unbalanced prose `{` cannot swallow the idea closer.

implementation
reqlan-token-builder.ts
tests
parsing.test.ts:keeps inline prose brace pairs as text, parsing.test.ts:keeps end-of-line matching prose braces as text, parsing.test.ts:parse thanks-for-installing template, parser.rs:keeps_inline_prose_braces, parser.rs:keeps_end_of_line_matching_prose_braces, lexer.rs:prose_braces_stay_other

Interactive page: nested_curly_braces