Take a simple look at the document. The files in the doc directory are still in *. PS format. However, luac. ps and luac.txt have the same content.
Readme)
---------------------------------------------------------
This client is a simple Lua interpreter.
It can load executable files from the command line through the file name, or load executable text lines from standard input.
Note: In the latter case, each row must contain a complete statement.
For example, a function cannot span rows.
---------------------------------------------------------
Compiler user manual (luac. ps or luac. TX ):
---------------------------------------------------------
Name
Luac-Lua Compiler
Summary
Luac [-dlpv] [-O outputfile] sourcefile...
Description
Luac is the Lua compiler. It translates programs written in Lua compiling language into binary files.
You can call lua_dofile in C or call dofile in Lua to load and execute the generated binary file.
Luac generates an output file containing the bytecode of all specified source files.
By default, the output file name is luac. Out.
But you can use the-O option to change it.
You can use "-" to indicate that the standard input is used as the source file.
Option
-D Open debugging.
-L generate a compiled Lua Virtual Machine bytecode list.
-P parses the source file without generating any output file.
-V: Output version information.
-O outputfile
Name the output file instead of the default luac. Out.
The output file cannot be a source file.
File
Luac. Out default output file.
For more information, see
Lua (1)
Lua programming language manual (the refman. PS file in the doc directory)
Diagnosis
The error message must be self-described.
Error
Any bugs inherited from Lua, but Lua does not have any bugs... (a very domineering sentence !)
Author
W. Celes, R. ierusalimschy & L. H. de Figueiredo
([Email protected])
Lua2.4 Introduction