Orb
Orb copied to clipboard
Compile to `.wasm`
Currently Orb only outputs WebAssembly text format (.wat). This can run in some libraries like wasmex or be converted using wat2wasm but it would be best to output .wasm directly.
This would involve adding a Orb.ToWasm protocol to pair with the existing Orb.ToWat one, and a boat load of integration tests.
Status
There are 33 defimpl of Orb.ToWat, and 14 defimpl of Orb.ToWasm
- [ ] 14/33
Lo has a really easy to follow wasm outputter: https://github.com/glebbash/LO/blob/60b80d1b325136ce1ceaf4dc12073b7faaceb853/src/wasm.rs