HyperQuark / hyperquark

compile scratch projects to webassembly
https://hyperquark.github.io/hyperquark/
Apache License 2.0
9 stars 0 forks source link

WASM functions should be generated from wat files #14

Open pufferfish101007 opened 3 months ago

pufferfish101007 commented 3 months ago

Currently it's difficult to verify that the generated wasm will be valid. Create (or find) a macro that will include a function's code from an external wat file as an iterator over wasm_encoder Instructions.