From 7b844c5caf81ac843a210477ef47fd16e8af2f2c Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 2 Feb 2017 22:38:35 +0100 Subject: Lua VM --- sandbox/hello.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sandbox/hello.js') diff --git a/sandbox/hello.js b/sandbox/hello.js index f8f6e15..df32dd8 100644 --- a/sandbox/hello.js +++ b/sandbox/hello.js @@ -2,7 +2,6 @@ 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"))) +let p = new BytecodeParser(new DataView(fs.readFileSync("./sandbox/hello.bc"))) p.luaU_undump(); \ No newline at end of file -- cgit v1.2.3-54-g00ecf