blob: 00dd1cd479736a6d275b26f41a3ebe364df24566 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
This is luac, the Lua compiler.
There are man pages for it in both nroff and html in ../../doc.
luac translates Lua programs into binary files that can be loaded later.
The main advantages of pre-compiling chunks are: faster loading, protecting
source code from user changes, and off-line syntax error detection.
luac can also be used to learn about the Lua virtual machine.
Usage: luac [options] [filenames]. Available options are:
- process stdin
-l list
-o name output to file `name' (default is "luac.out")
-p parse only
-s strip debug information
-v show version information
-- stop handling options
luac is also an example of how to use the internals of Lua (politely).
|