Lua2.4 Introduction

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.