Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 742 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 742 Bytes

wagu

A WIP that converts WebAssembly to pure Go code (more docs to come).

Has been used to successfully convert SQLite, HarfBuzz, ICU and others.

When using emscripten, version >= 1.39.0 with the STANDALONE_WASM setting enabled is preferred.

The conversion is done in two steps.

  1. The WebAssembly is converted to an internal IR thats based on (protobuf).
  2. The IR is converted to Go source code.

Usage:

git clone https://github.com/chrsan/wagu
cd wagu
go run cmd/*.go --help