v0.13 of Gleam, type safe language for the Erlang VM, is out

Hello everyone! The latest version of Gleam is out, v0.13. I’ve written a blog post detailing what’s new in this release here:

I hope you enjoy it, and I’m looking forward to hearing what you think. Thanks!

28 Likes

Wow! Those error messages are awesome. :fire::heart: Good job.

3 Likes

Greg did an excellent job!

2 Likes

Indeed! Looking at his PR made me put on my todo-list to rewrite Elixir’s parser at some point. :slight_smile:

One of the things that I would love to see how Gleam would tackle with its own parser, just so I can get inspired by/copy it, is intelisense. The thing about intelisense is that you are often working on imcomplete code. For example, imagine you wrote:

def foo do
  a + 
end

And the cursor is right after the plus. Or, similarly:

def foo do
  Foo.
end

The intellisense needs to understand or complete the code in order to understand its surrounds (for example, variables defined in the same function) and so on. I think having a custom parser helps with that but I am not sure if that’s true in practice!

EDIT: and congrats on the release!

10 Likes

I’ve not looked much at how LSP works but I think you’re right. With this customer parser lots of little tooling and error message niceties that seemed difficult have become much easier. I should have done this from the start! :slight_smile:

Thank you!

1 Like

Pushed a 0.13.2 docker release