RyanLamansky / dotnet-webassembly

Create, read, modify, write and execute WebAssembly (WASM) files from .NET-based applications.
Apache License 2.0
791 stars 74 forks source link

Load .wat files #54

Open holly-hacker opened 2 years ago

holly-hacker commented 2 years ago

I'm writing a wasm viewer tool and would like to be able to read the text-based .wat format in the same way as normal .wasm files. Ideally, there would be a new ReadFromWat or ReadFromTextFile method to accompany the existing ReadFromBinary that also returns a simple Module.

RyanLamansky commented 2 years ago

That would certainly be useful! I don't expect to have time to add this feature any time soon, but contributions are welcome.

smallverse commented 2 years ago

me too