WebAssembly Interpreter written in Java (Java 8, Pure Java, No library dependencies)
- Pure Java
- No library dependencies
wasm
file support- Integer operations
- Control flow
- Functions
- Linear memory
byte[] wasmFileContent = Files.toByteArray(new File("add.wasm"));
int result = new Interpreter(wasmFileContent).invoke("add", 1, 2);
System.out.println("1 + 2 = " + result);
$ ./mvnw install
Apache License Version 2.0