lunajit/microLua.lua

7 lines
148 B
Lua

local readbc = require('readbc')
fp = io.open('tests/test1.luo')
header = readbc.read_header(fp)
proto = readbc.read_proto(fp)
print(#proto.bcins)