Stream: contributing

Topic: Adding some quality of life features to new `roc repl`


view this post on Zulip Yanni Papandreou (Jan 18 2026 at 13:16):

Hi, I'm interested in working on adding some more quality of life features to the new roc repl. I've managed (on MacOS at least) to get some support for history and up/down arrows to get the previous/next commands in history. This was done in a hacky way using the GNU readline library. I'm quite curious in getting something working without this. If this is something which would be useful I'm happy to start working on a PR for this :)

view this post on Zulip Anton (Jan 19 2026 at 08:52):

That would be great @Yanni Papandreou :)
Some things to keep in mind: we need the repl to work on macos, windows, linux, (maybe BSD in the future) and in the browser (with the interpreter built into a .wasm). We like to avoid adding dependencies.

view this post on Zulip Yanni Papandreou (Jan 19 2026 at 20:21):

@Anton Noted thanks! I will start working on something first for unix platforms then will try to add support for windows/bsd/wasm.

view this post on Zulip Anton (Jan 20 2026 at 09:01):

Great! You don't need to do BSD yet though, we don't have CI set up for it. I was just mentioning it to make sure we can accommodate for it in the future.

view this post on Zulip Yanni Papandreou (Jan 24 2026 at 17:53):

I have a PR open now which I've tested on Macos, Linux (NixOS), and in a windows vm: https://github.com/roc-lang/roc/pull/9081

view this post on Zulip Rick Hull (Jan 24 2026 at 19:17):

I run FreeBSD on my gateway at home. Not really a bsd person though, yet


Last updated: Feb 20 2026 at 12:27 UTC