shybyte
shybyte
I use Ubuntu 18.04.3 LTS and cargo-web seems to use internally "emcc (Emscripten gcc/clang-like replacement) 1.38.19 ((unknown revision))".
I would like to work on this feature. As a first step I have tried to run the nlprule example from the README.md as WASM. Unfortunately I spend some hours...
After some hours of sleep, I have discovered that it seems to be possible to feature switch to "fancy-regex" in nlprule. I will try that next.
I have tried to use fancy-regexp instead of nlprule using ``` [dependencies] nlprule = { version = "0.6.4", default-features = false, features = ["fancy-regex"] } ``` but it still tries...
I have followed this tutorial https://rustwasm.github.io/docs/book/game-of-life/hello-world.html and after just adding nlprule to the cargo.toml, it fails to compile because it tries to compile onig_sys. You can find the example repo...
I have tried to follow your advice and now it compiles, but this function https://github.com/shybyte/nplrule-wasm-example/blob/master/src/lib.rs throws in the browser console: ``` bootstrap.js:5 Error importing `index.js`: RuntimeError: unreachable at http://localhost:5000/82a50776f64bbf6b60fa.module.wasm:wasm-function[1505]:0x6f80c at...
Thank you for your help. By the way, this is my first encounter with Wasm. Now it works and I managed to send a string from JavaScript to Wasm and...
https://quilljs.com is a HTML editor. I don't know its API but usually handling HTML increases complexity because we would * need to parse the HTML, keeping an domnode/offset mapping to...
@bminixhofer Caused by unexpected private events, I hadn't done anything for 9 day. However yesterday and today I've found some time to * Create a basic project structure for the...
I have now implemented a webworker based version: https://github.com/shybyte/nlprule-web-demo/tree/main/webworker-example This version is now deployed to https://shybyte.github.io/nlprule-web-demo/ The unblocked UI thread is a bit nicer in regard to UX, but unfortunately...