Hey, I'm interested in creating a wasm platform for Roc, targeting the wasm4 fantasy console. I want to use zig as the host language. I've gone through the tutorial page for Roc, and I don't recall seeing any documentation on implementing a platform. I'm going to take a look through the examples but I figured it would be a good idea to start a conversation here
Also is there any syntax highlighting/autoindent for emacs? I know the plan is to implement a default editor but AFAIK that doesn't work yet
Also is there any syntax highlighting/autoindent for emacs? I know the plan is to implement a default editor but AFAIK that doesn't work yet
Yes, correct. I haven't heard of any emacs plugins but perhaps you can re-use things from the (unofficial) vscode highlighting plugin or the highlighting we use for the docs. coffeescript syntax highlighting also works reasonably well.
There is indeed very little documentation on platform development. These wasm examples are probably our best resources basic wasm platform, the wasm repl, and virtual dom wip. We're always available for additional help :)
i just activate elixir-mode for roc syntax highlighting
Last updated: Jul 06 2025 at 12:14 UTC