lpil

lpil

Creator of Gleam

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!

Most Liked

josevalim

josevalim

Creator of Elixir

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!

11
Post #4
stefanluptak

stefanluptak

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

lpil

lpil

Creator of Gleam

Greg did an excellent job!

lpil

lpil

Creator of Gleam

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!

Crowdhailer

Crowdhailer

Creator of Raxx

Pushed a 0.13.2 docker release

Where Next?

Popular in Erlang News Top

Devtalk
A new Erlang news item has been posted! Link: Release OTP 23.3.4.3 · erlang/otp · GitHub Posted via Devtalk.
New
erlangforums
A new Erlang announcement has been posted: Original announcement:
New
Devtalk
A new Erlang news item has been posted! Link: Release OTP 21.3.8.22 · erlang/otp · GitHub Link: Release OTP 23.3.1 · erlang/otp · Git...
New
Devtalk
A new Erlang news item has been posted! Link: Release OTP 23.2.7.3 · erlang/otp · GitHub Posted via Devtalk.
New
erlangforums
A new Erlang announcement has been posted: Original announcement:
New
hauleth
http://erlang.org/download/OTP-22.0.README
New
voltone
Erlang/OTP 23.2.2 is out, fixing a critical TLS certificate verification issue in 23.2 an 23.2.1 allowing MitM attacks and forged client ...
New
New
bjorng
The first release candiate of Erlang/OTP 22.0 has been released.
New
erlangforums
A new Erlang announcement has been posted: Original announcement:
New

Other popular topics Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New

We're in Beta

About us Mission Statement