ref: 7d5831d86dbce4d15c09dea4ff7b8ab1dda0a30a
dir: /src/lua/test/luac.lua/
-- bare-bones luac in Lua -- usage: lua luac.lua file.lua assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua") f=assert(io.open("luac.out","wb")) assert(f:write(string.dump(assert(loadfile(arg[1]))))) assert(f:close())