1 .\" $Id: luac.man,v 1.11 1998/07/01 14:51:45 lhf Exp $
2 .TH LUAC 1 "01 July 1998"
36 It translates programs written in the Lua programming language
37 into binary files that can be loaded and executed with
43 The main advantages of pre-compiling chunks are:
45 protecting source code from user changes,
46 off-line syntax error detection.
47 The binary files created by
49 are portable to all known architectures.
52 produces a single output file containing the bytecodes
53 for all source files given.
55 the output file is named
57 but you can change this with the
68 can also load and list binary files with the
72 Binary files produced by differents runs of
74 can be combined into one large file,
77 The result is still a valid binary file,
78 and can be loaded with a single call to
86 compile (this is the default).
89 undump, i.e., load and list the given binary files.
90 If no files are given, then luac undumps
96 for conditional compilation.
101 predefine any symbols,
102 not even the built-in functions.
106 Individual chunks may
107 still control the generation of debug information with
109 If debugging is on, then listings show the names of the local variables.
112 produce a listing of the compiled bytecode for Lua's virtual machine.
113 This is the default when undumping.
117 Debug information is removed,
118 duplicate constants are coalesced.
123 instead of the default
125 The output file cannot be a source file.
128 parse sources files but does not generate any output file.
129 Used mainly for syntax checking.
132 quiet; produces no listing.
133 This is the default when compiling.
136 print version information.
140 print the names of the source files as they are processed.
148 .I "Reference Manual of the Programming Language Lua"
150 http://www.tecgraf.puc-rio.br/lua/
152 "Lua: an extensible extension language",
153 .I Software: Practice & Experience
157 Error messages should be self explanatory.
159 Inherits any bugs from Lua,
160 but Lua has no bugs...
165 .I (lua@tecgraf.puc-rio.br)