Add Lua 5.1 source files and documentation, including core libraries, interpreter, and test scripts.

This commit is contained in:
2025-04-11 21:58:02 +01:00
parent 81c4f80b71
commit 44c788dde1
102 changed files with 25663 additions and 0 deletions

View 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())