4 LUAC(1) User Commands LUAC(1)
12 luac [ -dlpv ] [ -o outputfile ] sourcefile ...
15 luac is the Lua compiler. It translates programs written in
16 the Lua programming language into binary files that can be
17 loaded and executed with lua_dofile in C or dofile in Lua.
19 luac produces a single output file containing the bytecode
20 for all named source files. By default, the output file is
21 named luac.out, but you can change this with the -o option.
23 You can use "-" to indicate stdin as a source file.
26 -d turns debugging on.
28 -l produces a listing of the compiled bytecode for
29 Lua's virtual machine.
31 -p parses sources files but does not generate any
34 -v prints version information.
37 Name the output file output, instead of the
38 default luac.out. The output file cannot be a
42 luac.out default output file
47 Reference Manual of the Programming Language Lua
50 Error messages should be self explanatory.
53 Inherits any bugs from Lua, but Lua has no bugs...
56 W. Celes, R. Ierusalimschy & L. H. de Figueiredo
63 Formatted 96/03/29 12 March 1996 1