Skip to content

fix: align the grammar with TOON spec v4.4 - #12

Merged
johannschopplich merged 12 commits into
mainfrom
feat/spec-4.4
Oct 8, 2026
Merged

johannschopplich merged 12 commits into
mainfrom
feat/spec-4.4

Conversation

@johannschopplich

Copy link
Copy Markdown
Member

Moves the grammar from spec v4.1 to v4.4. Only SP and HTAB count as whitespace now, so an NBSP or a trailing tab stays part of a key, and a tab before a bracket segment no longer starts a header. A list item may have several spaces after its hyphen, the empty key : 1 gets the key-value scope, and a field-list header needs its colon after the list, so a[2:]{x} reads as plain content.

@johannschopplich
johannschopplich merged commit 165a359 into main Oct 8, 2026
1 check passed
@johannschopplich
johannschopplich deleted the feat/spec-4.4 branch October 8, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant