Releases: gleam-lang/tree-sitter-gleam
v0.30.5
Ostensibly updates the tree-sitter grammar to support version 0.30.5 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.30.4 and 0.30.5, this is simply a version bump for the grammar.
Also included is a change that makes function bodies optional. This fixes parsing for external functions, for example:
@target(erlang)
@external(erlang, "wobble", "main")
pub fn main() -> Int
v0.30.4
Ostensibly updates the tree-sitter grammar to support version 0.30.4 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.30.3 and 0.30.4, this is simply a version bump for the grammar.
v0.30.3
Ostensibly updates the tree-sitter grammar to support version 0.30.3 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.30.2 and 0.30.3, this is simply a version bump for the grammar.
v0.30.2
Ostensibly updates the tree-sitter grammar to support version 0.30.2 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.30.1 and 0.30.2, this is simply a version bump for the grammar.
v0.30.1
Ostensibly updates the tree-sitter grammar to support version 0.30.1 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.30.0 and 0.30.1, this is simply a version bump for the grammar.
v0.30.0
Updates tree-sitter-gleam to support version 0.30.0 of the Gleam programming language. Specifically, tree-sitter-gleam now supports the new attribute, type
, panic as "..."
and todo as "..."
syntaxes.
Changes:
- Parse attribute syntax, [tree-sitter-gleam PR] [Gleam PR]
- Make 'external' part of external type definitions optional, [tree-sitter-gleam PR] [Gleam PR]
- Add 'as message' syntax for todo and panic, [tree-sitter-gleam PR] [Gleam PR]
Thanks to @lpil for reporting the issues! 💫
v0.29.0
Ostensibly updates the tree-sitter grammar to support version 0.29.0 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.28.3 and 0.29.0, this is simply a version bump for the grammar.
v0.28.3
Ostensibly updates the tree-sitter grammar to support version 0.28.3 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.28.2 and 0.28.3, this is simply a version bump for the grammar.
v0.28.2
Updates tree-sitter-gleam to support version 0.28.2 of the Gleam programming language. Specifically, tree-sitter-gleam now supports optional type annotations for use
expressions.
Changes:
- Add optional type annotations to use assignment, [tree-sitter-gleam PR] [Gleam PR]
This also changes the structure of the use
node in the tree. It now has a use_assignments
child node with use_assignment
nodes for each clause in the use expression. The pattern nodes like identifier
which were previously children of use
are now children of use_assignment
.
Thanks to @marcinkoziej and @J3RN for this update to tree-sitter-gleam!
v0.28.1
Ostensibly updates the tree-sitter grammar to support version 0.28.1 of the Gleam programming language. However, since there were no changes to the Gleam parser between 0.28.0 and 0.28.1, this is simply a version bump for the grammar.
I also updated the markup of the backwards-compatibility policy.