Jaws – a JavaScript to WASM ahead-of-time compiler

Jaws Jaws is a JavaScript to WebAssembly compiler written in Rust that aims to eventually support 100% of the JavaScript language. It was created out of necessity as existing alternatives were not ideal for running scripting languages on top of WASM. Currently, Jaws can compile code using closures with scopes support, try/catch, and implements a limited Promise API and async. The project focuses on implementing semantics first before tackling builtins and grammar. Jaws leverages recent WASM proposals and some of the WASIp2 features, with plans to eventually support other runtimes. The project plans to implement hard-to-implement features like generators and await support next.

https://github.com/drogus/jaws

To top