Skip to content

tree-sitter: sized list types [T × n] - #8

Merged
theharshon merged 1 commit into
mainfrom
sized-list-types
Nov 28, 2026
Merged

theharshon merged 1 commit into
mainfrom
sized-list-types

Conversation

@theharshon

Copy link
Copy Markdown
Member

Mimic 0.4.4 adds sized list types: [f64 × 3], also written [i64 * 9]. The tree-sitter grammar's array_type now takes a length after × or *, stored as the length field. A new sample covers sized lists and typed maps in types. TextMate already highlights these, since × is an operator there.

@theharshon
theharshon merged commit ea1f0b0 into main Nov 28, 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