blob: 5ce16c4411f727ba6c62f43859d80b99b50560ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<HTML>
<HEAD>
<TITLE>Lua 3.0 Reference Manual - Index</TITLE>
</HEAD>
<BODY>
<H1>Reference Manual of the Programming Language Lua 3.0</H1>
<P>
<A HREF="http://www.inf.puc-rio.br/~roberto/">Roberto Ierusalimschy</A>,
<A HREF="http://www2.lncc.br/~lhf/">Luiz Henrique de Figueiredo</A>,
<A HREF="http://www.graphics.cornell.edu/~celes/">Waldemar Celes</A>
<BR>
<A HREF="mailto:lua@tecgraf.puc-rio.br">lua@tecgraf.puc-rio.br</A><BR>
<A HREF="http://www.tecgraf.puc-rio.br">TeCGraf</A>,
<A HREF="http://www.inf.puc-rio.br">Computer Science Department</A>,
<A HREF="http://www.puc-rio.br">PUC-Rio</A>
<P>
<HR>
<B>Abstract.</B>
Lua is an extension programming language designed to be used
as a configuration language for any program that needs one.
This document describes version 3.0 of the Lua programming language and
the API that allows interaction between Lua programs and their host C programs.
<HR>
<B>Sumário.</B>
Lua é uma linguagem de extensão projetada para ser usada como
linguagem de configuração em qualquer programa que precise de uma.
Este documento descreve a versão 3.0 da linguagem de
programação Lua e a Interface de Programação (API) que permite
a interação entre programas Lua e programas C hospedeiros.
<HR>
<A NAME="index"></A>
<UL>
<LI><A HREF="manual.html#1.">1 - Introduction</A>
<LI><A HREF="manual.html#2.">2 - Environment and Chunks</A>
<LI><A HREF="manual.html#3.">3 - Types and Tags</A>
<LI><A HREF="manual.html#4.">4 - The Language</A>
<UL>
<LI><A HREF="manual.html#4.1">4.1 - Lexical Conventions</A>
<LI><A HREF="manual.html#4.2">4.2 - The Pre-processor</A>
<LI><A HREF="manual.html#4.3">4.3 - Coercion</A>
<LI><A HREF="manual.html#4.4">4.4 - Adjustment</A>
<LI><A HREF="manual.html#4.5">4.5 - Statements</A>
<LI><A HREF="manual.html#4.6">4.6 - Expressions</A>
<LI><A HREF="manual.html#4.7">4.7 - Function Definitions</A>
<LI><A HREF="manual.html#4.8">4.8 - Tag Methods</A>
<LI><A HREF="manual.html#4.9">4.9 - Error Handling</A>
</UL>
<LI><A HREF="manual.html#5.">5 - The Application Program Interface</A>
<UL>
<LI><A HREF="manual.html#5.1">5.1 - Exchanging Values between C and Lua</A>
<LI><A HREF="manual.html#5.2">5.2 - Executing Lua Code</A>
<LI><A HREF="manual.html#5.3">5.3 - Manipulating Lua Objects</A>
<LI><A HREF="manual.html#5.4">5.4 - Calling Lua Functions</A>
<LI><A HREF="manual.html#5.5">5.5 - C Functions</A>
<LI><A HREF="manual.html#5.6">5.6 - References to Lua Objects</A>
</UL>
<LI><A HREF="manual.html#6.">6 - Predefined Functions and Libraries</A>
<UL>
<LI><A HREF="manual.html#6.1">6.1 - Predefined Functions</A>
<LI><A HREF="manual.html#6.2">6.2 - String Manipulation</A>
<LI><A HREF="manual.html#6.3">6.3 - Mathematical Functions</A>
<LI><A HREF="manual.html#6.4">6.4 - I/O Facilities</A>
</UL>
<LI><A HREF="manual.html#7.">7 - The Debugger Interface</A>
<UL>
<LI><A HREF="manual.html#7.1">7.1 - Stack and Function Information</A>
<LI><A HREF="manual.html#7.2">7.2 - Manipulating Local Variables</A>
<LI><A HREF="manual.html#7.3">7.3 - Hooks</A>
</UL>
<LI><A HREF="manual.html#8.">8 - Lua Stand-alone</A>
<LI><A HREF="manual.html#Acknowledgments">Acknowledgments</A>
<LI><A HREF="manual.html#Incompatibilities">Incompatibilities with Previous Versions</A>
<LI><A HREF="idx.html">Index</A>
</UL>
<HR>
Last update:
Tue Jul 1 07:55:45 EST 1997
by <A HREF="http://www.tecgraf.puc-rio.br/~lhf/">lhf</A>.
</BODY>
</HTML>
|