Skip to content

r1ru/tiny-wasm-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-wasm-runtime

Unofficial reference WASM interpreter written in C. The purpose of this project is to promote understanding of the specification by giving an implementation according to it. The priority is on clarity rather than efficiency and speed.

Building

Clone this repository and run the following command. Make sure that wabt is installed on the system.

$ cmake -S . -B build

Testing

The interpreter is tested with this testsuite, which differs somewhat from the official one. This is because the official testsuite contains some test cases depending on the spec interpreter implementation. The interpreter can currently pass all core tests except those related to utf8 and WAT. To run the test, execute the following command.

$ ctest --test-dir build

About

Unofficial reference WASM interpreter written in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published