Repository navigation
Widening the WASM interface #878
iamrecursion
started this conversation in
General
Replies: 1 comment 2 replies
That's awesome!
I'd be okay with accepting small incremental changes in this direction. Maybe there are some opportunities to make the web version of Numbat better along the way (we should definitely use the web version of Numbat as a client of that new interface, instead of designing a second interface). |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Currently the WASM interface is very limited, which is great for building a REPL but makes it harder to build more interactive tools as the interface is string-in, string-out. How much willingness would there be to accept patches that provide more exposure of the internals through WASM to enable things like better diagnostics, custom module loading, errors as data, and so on?
I'm working on building a Numbat integration for Obsidian, and right now I've got a lot of hacks in the plugin code to do things that Numbat knows and can provide, but does not. I wanted to assess willingness to accept such contributions should I make them, or whether it would be a "expose some things I need and build my own interface crate" or "shallow fork" situation.
Version 1.0.0 of the plugin can be found here, and relies a lot on the hacks.
All reactions