wasper 0.1.3

A Webassembly interpreter written in Rust without standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod error;
pub mod instructions;
pub mod leb128;
pub mod module;
pub mod parser;
pub mod sections;
pub mod types;
pub mod values;

use super::binary::Module;
use error::Error;
use parser::Parser;

pub fn parse(input: &[u8]) -> Result<Module, Error> {
    let mut parser = Parser::new(input);
    parser.module()
}