WebAssembly / wabt

The WebAssembly Binary Toolkit
Apache License 2.0
6.57k stars 675 forks source link

Use wasp library in wabt #1543

Open binji opened 3 years ago

binji commented 3 years ago

For a while I've been working on a new library called wasp: https://github.com/binji/wasp. It has much of the same functionality as wabt, but written from the ground up to be a library rather than a suite of tools.

Wasp is now at the point where I'd like to look at incorporating it into wabt, so that features don't have to be implemented twice. Wasp could also end up being beneficial to binaryen, perhaps using just wasp's text parser.

Here is a high-level list of tasks that are required to start using wasp:

I'd like to do this as incrementally as possible, and on the main branch. Since a lot of these components depend on wabt's IR, that likely will be the last piece to remove. In the meantime, we can convert between wasp/wabt structures at the boundary.

aardappel commented 3 years ago

Yup, a solid plan. Good idea to do it incrementally.

dbezhetskov commented 2 years ago

Hi @binji, I see that there is no recent activity on this issues, do you still plan to use wasp in wabt?

penzn commented 2 years ago

A related question - do you need help? 😉

binji commented 2 years ago

Sorry, I haven't been working on Wasm for almost a year now. I'm not certain whether this is a reasonable goal anymore, so I'll leave it to folks who have been working on wabt lately.

HarikrishnanBalagopal commented 5 months ago

@binji does wasp support WASI preview 2 component model? https://github.com/WebAssembly/wabt/issues/2376