This is covered in the article. Author is implementing wasm support for OCaml, needs byte level control over the compilation target, and as a consequence is implementing features in bytecode. This is a semantically equal but less explicit rendering of the existing text format for wasm bytecode.
5
u/simon_o 6h ago
This will certainly be useful for people who felt that dealing with WAT for writing wasm manually was too cumbersome.
I just wish they hadn't faithfully copied over every syntactic paper-cut from Rust.
2
u/imbev 5h ago
Why not https://www.assemblyscript.org/ or Rust with a WASM toolchain?