]> git.saurik.com Git - redis.git/blame - deps/lua/test/luac.lua
Query the archive to provide a complete KEYS list.
[redis.git] / deps / lua / test / luac.lua
CommitLineData
21d3294c 1-- bare-bones luac in Lua
2-- usage: lua luac.lua file.lua
3
4assert(arg[1]~=nil and arg[2]==nil,"usage: lua luac.lua file.lua")
5f=assert(io.open("luac.out","wb"))
6assert(f:write(string.dump(assert(loadfile(arg[1])))))
7assert(f:close())