Strumenta / antlr-kotlin

Support for Kotlin as a target for ANTLR 4
Apache License 2.0
222 stars 47 forks source link

Support the WASI target #132

Closed lppedd closed 8 months ago

lppedd commented 8 months ago

As per title.

This should enable integrating ANTLR as a wasm binary into a VS Code extension.
See https://code.visualstudio.com/blogs/2023/06/05/vscode-wasm-wasi

lppedd commented 8 months ago

Seems like we covered all the targets.
Now we just need to wait for kotlinx-resources to expand its own support, and then we can also test grammars.

ftomassetti commented 8 months ago

Supporting WASI seems a great achievement! I would like to try generating a WASM-WASI parser and see if I can use it from the browser and from Python...

lppedd commented 8 months ago

@ftomassetti let me know if you succeed on that.

At some point I'll also setup some benchmarks for JS vs wasmJs vs WASI.