mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
7
vendor/lua-5.1.3/test/luac.lua
vendored
Normal file
7
vendor/lua-5.1.3/test/luac.lua
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-- 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())
|
||||
Loading…
Add table
Add a link
Reference in a new issue