Stream: ideas

Topic: Roc glue platform


view this post on Zulip Luke Boswell (Jul 03 2024 at 01:43):

I've been writing plugins for glue using a release of the glue platform. It's currently hosted in my fork, and has been working well.

As this platform is only plugin for the roc compiler, there are no host files -- just .roc files included in the package.

You can see this example or the snippet below for how this URL release is used.

app {
    pf: platform "https://github.com/lukewilliamboswell/roc/releases/download/test/olBfrjtI-HycorWJMxdy7Dl2pcbbBoJy4mnSrDtRrlI.tar.br",
}

Where should a release of the glue platform live?

I think we could include this in with the nightly, though it is useful to have a stable link so we don't have to change all the plugins every time we update.

view this post on Zulip Ryan Barth (Jul 03 2024 at 04:05):

Does this replace the roc glue command?

view this post on Zulip Luke Boswell (Jul 03 2024 at 04:42):

These plugins are used with the roc glue subcommand.

So if I have a glue spec/plugin/script myCustomGlue.roc I could use it like;

roc glue myCustomGlue.roc path/to/generate/in/ path/to/platform/main.roc

view this post on Zulip Anton (Jul 03 2024 at 15:42):

I previously planned to put up a repo with all nightly releases, once we have that we can put releases of the glue platform there as well

view this post on Zulip Luke Boswell (Jul 03 2024 at 22:24):

No worries, I'll leave that release up for now, it will be easy to move it when we are ready.


Last updated: Jun 16 2026 at 16:19 UTC