diff options
Diffstat (limited to 'sandbox/hello.js')
-rw-r--r-- | sandbox/hello.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sandbox/hello.js b/sandbox/hello.js new file mode 100644 index 0000000..f8f6e15 --- /dev/null +++ b/sandbox/hello.js @@ -0,0 +1,8 @@ +const DataView = require('buffer-dataview'); +const fs = require('fs'); + +const BytecodeParser = require("../src/lundump.js"); +const lua_State = require('../src/lstate.js').lua_State; + +let p = new BytecodeParser(new lua_State(), new DataView(fs.readFileSync("./sandbox/hello.bc"))) +p.luaU_undump();
\ No newline at end of file |