summaryrefslogtreecommitdiff
path: root/sandbox/hello.js
blob: f8f6e156e92787f0090551a41b69d430a1299e38 (plain)
1
2
3
4
5
6
7
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();