Happy New Year, Emscripteners...
In 2019 I spent a fair bit of time working on an interactive REPL for the Rebol language compiled to WebAssembly. Because Rebol is a project with some unusual premises and principles, the intersection of concerns has made it a rather challenging balancing act. Hence all my weird questions (!)
We had a conference this year in Philadelphia, where I presented a very alpha-stage version of the console. It uses MAIN_THREAD_EM_ASM() to accomplish interactivity while it's stuck in an interpreter stack it cannot unwind (though it falls back to Asyncify if the browser lacks the necessary threading features). I just put a video online--which has some context that I think is interesting--but you can also skip directly to the demo of the console itself at 6:48...
From seeing .MOD players and other old-school computing being resurrected in Wasm, I'm wondering if anyone here might be interested in becoming involved with this language that emerged from Amiga culture? I think it's pretty fun. :-)
But even if not, there may be some way to factor out the work I've done on ergonomics in the console that would be useful to others. Here's a repo for that project in particular:
Feel free to get in touch if any of this is of interest!
Best,
--Brian