Replies: 1 comment 4 replies
-
It should be relatively straightforward to do with wasm-pack: https://rustwasm.github.io/docs/wasm-pack/ (as that's already done for the website: https://github.com/pest-parser/site ) The main question is what the potential package bindings should contain. Do you have any thoughts about it? "pest_vm" may be a good candidate to expose (that's what the website uses), but I don't think it is that widely useful. Most external projects use the compile-time approach ("pest" + "pest_derive"). In that approach, I guess the most natural approach in the Wasm context is that each external |
Beta Was this translation helpful? Give feedback.
-
Having official support for an NPM/browser/deno module (ex lightningcss does this) would be awesome.
Beta Was this translation helpful? Give feedback.
All reactions