Experimental WebAssembly Runtime for RISC processors.
Initially, wari will only target RISC-V. In the future, other processors may be targeted.
- Load module with
parity_wasm::elements::Module::from_bytes()
- Get individual module sections
- Pass each section into a converter to RISC instructions
- Optimize instructions based on known patterns that can be simplified
Steps 1 & 2 can happen at the same time (loading function) as well as 3 & 4 (with a peekable iterator).
TODO