Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 539 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 539 Bytes

Zig Web Assembly interpreter

A tiny Web Assembly interpreter written in Zig. The interpreter supports Web Assembly Core Specification 2.0 draft including SIMD operations. This project is intended for personal understanding of the Wasm spec. Do not use in production environment.

Requrements

  • Zig 0.12
  • wabt (to run Wasm TestSuite)

Compile and Run

zig build -Doptimize=ReleaseSafe
./zig-out/bin/zig-wasm-interp somefile.wasm -r foo_func -a 32

Execute Wasm TestSuite

cd spec_test
make setup
make