Skip to content

Releases: gleam-lang/tree-sitter-gleam

v0.30.5

29 Oct 16:02
v0.30.5
4ccb13e
Compare
Choose a tag to compare

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

28 Aug 00:29
v0.30.4
a59aadf
Compare
Choose a tag to compare

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

28 Aug 00:28
v0.30.3
b754c74
Compare
Choose a tag to compare

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

28 Aug 00:26
v0.30.2
0e82111
Compare
Choose a tag to compare

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

28 Aug 00:25
v0.30.1
07abf84
Compare
Choose a tag to compare

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

28 Aug 00:23
v0.30.0
01a6887
Compare
Choose a tag to compare

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:

Thanks to @lpil for reporting the issues! 💫

v0.29.0

27 Aug 23:56
v0.29.0
fdb4962
Compare
Choose a tag to compare

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

27 Aug 23:53
v0.28.3
b477444
Compare
Choose a tag to compare

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

27 Aug 23:49
v0.28.2
a75656a
Compare
Choose a tag to compare

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:

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

30 Jul 00:02
Compare
Choose a tag to compare

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.