Documentation for LuaC
There are several versions of
LuaC: one (Thought's modified version) is available
here
; another is available
here
; and a third (called LuaC4) is available
here
. (There are also other versions, intended for other versions of Lua.)
The third version is part of the Win32 binary distribution of Lua 4.0.1, and is probably the most official.
Command-line options for the Thought's modified version:
usage: luac [options] [filenames]. Available options are:
- process stdin
-u undump
-l list
-o file output file (default is "luac.out")
-p parse only
-s strip debug information
-t test code integrity
-v show version information
Command-line options for the second version:
usage: luac [options] [filenames]. Available options are:
- process stdin
-l list
-o file output file (default is "luac.out")
-p parse only
-s strip debug information
-t test code integrity
-v show version information
Command-line options for LuaC4:
usage: luac [options] [filenames]. Available options are:
- process stdin
-l list
-o file output file (default is "luac.out")
-p parse only
-s strip debug information
-t test code integrity
-v show version information
To Compile Files...
luac -o [outputfile] [inputfile]
Note: AFAIK you must be using the second version or LuaC to do this. -Mikail
To Undump Files...
luac -u [inputfile] > [outputfile]
Note: AFAIK you must be using the Thought's modified version to do this, though I haven't been able to get it to work. -Mikail
To Decompile Files...
Related Pages: