WAT
WAT(WebAssembly Text Format)/(WAST)
人間が編集するための wasm バイナリ形式のテキスト表現
S式で表現されたWebAssembly
これなら手でWebAssemblyを書くことができそう
code:lisp
(module (memory 1) (func))
MDNのドキュメント: WebAssembly テキストフォーマットを理解する - WebAssembly | MDN
WebAssemblyツールチェーンのコンパイル
ツールチェーン
C/C++
Rust
Go
WebAssemblyツールチェーン
↓コンパイル
JavaScriptグルーコード
WebAssemblyを埋め込むHTML
セクション
オペコード
データ
構文: WAT 構文
MVP
Minimum Viable Product(MVP)
WebAssemblyの最小仕様
参考
WebAssembly テキストフォーマットを理解する - WebAssembly | MDN
2019年のWebAssembly事情 - Qiita
関連
WABT
メモ
WebAssembly テキスト形式から Wasm への変換 - WebAssembly | MDN
#WebAssembly