local readbc = require('readbc')
local vm = require('vm')
local VM = vm.VM
fp = io.open('snippets/test1.luo')
header = readbc.read_header(fp)
proto = readbc.read_proto(fp)
fp:close()
vm = VM.new()
vm:set_proto(proto)
vm:run()