luwa
luwa copied to clipboard
node main.js fails with RuntimeError: unreachable
Hey @serprex , thanks for building luwa! Its seems like aside from LLVM this is one of the farthest along compilers to WebAssembly. Congrats!
I'm getting an error when I run node main
/Users/masonf/src/luwa/main.js:47
}).catch(e => setImmediate(() => { throw e; }));
^
RuntimeError: unreachable
at wasm-function[40]:3861
at wasm-function[83]:3
at rt.then (/Users/masonf/src/luwa/main.js:22:11)
at <anonymous>
Any idea what that could be?
I'm on:
Mac OSX high sierra 10.13.2 Node v9.4.0 Lua 5.3.4
Let me know if there's any other helpful information I can provide. Thanks again!
-Mason
The VM currently has a number of unimplemented opcodes. It's able to get as far as calling fakereq before hitting an unimplemented case
For another project, see TurboScript