A gleam shell #1305
Replies: 3 comments 4 replies
-
I think this would be a great thing to have. Let's discuss here how we might implement this and if someone wants to take ownership of this feature I would be very keen to give them any guidancing within the compiler. |
Beta Was this translation helpful? Give feedback.
-
What would be the functionality wish list for this? I have a few:
I'm also willing to take a stab at this, but just a heads up it might take a while because I'm going to be learning Rust along the way 😀 |
Beta Was this translation helpful? Give feedback.
-
I remember a rust program (i dont remember the name) that was a rust "REPL" by taking in lines and putting them in the correct spots in a temp file, and then compiling it. Maybe a tool like that could work in the meantime. |
Beta Was this translation helpful? Give feedback.
-
At this time, Gleam offers a
gleam shell
command which opens an Erlang shell. Beyond the obvious (testing requires to know Erlang), I would say a shell is great even when one doesn't have a project yet: learning a programming language with a proper REPL can make a huge difference. The ability offered by languages like Elixir to not only open a shell, but also to recompile modules on the fly makes testing syntax much easier.My apologies if this feature has already been discussed, I couldn't find a link.
The floor is yours!
Beta Was this translation helpful? Give feedback.
All reactions