Crates.io | greenwasm |
lib.rs | greenwasm |
version | 0.3.1 |
source | src |
created_at | 2018-09-01 17:30:28.629071 |
updated_at | 2018-09-03 17:54:49.800702 |
description | An implementation of the Webassembly spec in Rust. |
homepage | |
repository | https://github.com/Kimundi/greenwasm |
max_upload_size | |
id | 82528 |
size | 254,589 |
An implementation of the Webassembly spec in Rust.
The structure of the project tries to follow the structure of the Spec where possible. Current progress:
greenwasm-structure
): Typedefs for Wasm Types, Instructions and Modules.greenwasm-validation
): Validator for a Wasm Module.greenwasm-execution
): Naive Execution Engine for a Wasm Module.greenwasm-binary-format
) parser for the .wasm
binary format..wat
text format.The individual crates are reexported from the central greenwasm
crate,
which also ties them together with a testsuite and some fuzzer scripts.
In the current version this is mainly a learning exercise, but the long-term goals include:
The greenwasm-spectest
crate contains a library shim around a mirror of the official Webasembly MVP testsuite.
It is used as a dev-dependency by the main greenwasm
crate,
but has no dependencies on other crates in this repo. As such, it can be used
as a independent testsuite launcher for other Webassembly implementations.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.