wasp
wasp copied to clipboard
WebAssembly module decoder in C++
See https://github.com/WebAssembly/wabt/issues/1543. There are still some missing features from wasp that we'll want before we can use it to fully replace the equivalent wabt functionality: - [x] binary to text...
The example func_ref_o.wat: ``` (module (func (export "main") (result i32) (call_ref (i32.const 10) (ref.func $foo) ) ) (func $foo (param $x i32) (result i32) (i32.add (local.get $x) (i32.const 19)) )...
It look like that WASP implements currently milestone 2. This partly incompatible with milestone 3. https://docs.google.com/document/d/1DklC3qVuOdLHSXB5UXghM_syCh-4cMinQ50ICiXnK3Q/edit#heading=h.9dwoku9340md
wat2wasm errors are cumbersome to debug since they only provide index numbers instead of their symbolic names.
See https://github.com/WebAssembly/wasp/pull/35#discussion_r535527286. In particular, `-Wsuggest-override`, but perhaps there are others.
The `callgraph`, `cfg`, `dfg`, `dump` tools don't have any tests. This shouldn't be too much work to do. If we refactor the `Tool` class to use an abstract output (instead...
I am using wasp for a project, and I realized that when iterating a text module, I can't get the location information from the `ModuleItem`s The issue is an extra...
When I finish the instructions, there is nothing in `~/wasp/build/bin/` ```bash mkdir build cd build cmake .. cmake --build . ``` ![image](https://github.com/WebAssembly/wasp/assets/60457190/0f102576-b81b-4084-8497-bbfadeb95637)
Hello, I'm new to webassembly and wasp. As part of my project im trying to get to use wasp, currently I do have wabt installed, I runned test through it....