Skip to content

Loops: while, for … in, break (⟳ ∀ ↯) - #6

Merged
theharshon merged 1 commit into
mainfrom
loops
Nov 27, 2026
Merged

theharshon merged 1 commit into
mainfrom
loops

Conversation

@theharshon

Copy link
Copy Markdown
Member

The words while, for, in and break, and the glyphs ⟳ and ↯, are added as control keywords in the TextMate grammar and in tree-sitter's control tokens (the parser is regenerated). ∀ already stood for for.

Checked with mimic's golden test grammar_knows_the_language, which runs every fixture through both grammars, including the new loops fixture.

@theharshon
theharshon merged commit 91dbe0d into main Nov 27, 2026
8 checks passed
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