1*0a6a1f1dSLionel Sambuc<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 211be35a1SLionel Sambuc<HTML> 311be35a1SLionel Sambuc<HEAD> 4*0a6a1f1dSLionel Sambuc<TITLE>Lua 5.3 readme</TITLE> 511be35a1SLionel Sambuc<LINK REL="stylesheet" TYPE="text/css" HREF="lua.css"> 6*0a6a1f1dSLionel Sambuc<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> 7*0a6a1f1dSLionel Sambuc<STYLE TYPE="text/css"> 8*0a6a1f1dSLionel Sambucblockquote, .display { 9*0a6a1f1dSLionel Sambuc border: solid #a0a0a0 2px ; 10*0a6a1f1dSLionel Sambuc border-radius: 8px ; 11*0a6a1f1dSLionel Sambuc padding: 1em ; 12*0a6a1f1dSLionel Sambuc margin: 0px ; 13*0a6a1f1dSLionel Sambuc} 14*0a6a1f1dSLionel Sambuc 15*0a6a1f1dSLionel Sambuc.display { 16*0a6a1f1dSLionel Sambuc word-spacing: 0.25em ; 17*0a6a1f1dSLionel Sambuc} 18*0a6a1f1dSLionel Sambuc 19*0a6a1f1dSLionel Sambucdl.display dd { 20*0a6a1f1dSLionel Sambuc padding-bottom: 0.2em ; 21*0a6a1f1dSLionel Sambuc} 22*0a6a1f1dSLionel Sambuc 23*0a6a1f1dSLionel Sambuctt, kbd, code { 24*0a6a1f1dSLionel Sambuc font-size: 12pt ; 25*0a6a1f1dSLionel Sambuc} 26*0a6a1f1dSLionel Sambuc</STYLE> 2711be35a1SLionel Sambuc</HEAD> 2811be35a1SLionel Sambuc 2911be35a1SLionel Sambuc<BODY> 3011be35a1SLionel Sambuc 3111be35a1SLionel Sambuc<H1> 32*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/"><IMG SRC="logo.gif" ALT="Lua"></A> 33*0a6a1f1dSLionel SambucWelcome to Lua 5.3 3411be35a1SLionel Sambuc</H1> 3511be35a1SLionel Sambuc 36*0a6a1f1dSLionel Sambuc<DIV CLASS="menubar"> 37*0a6a1f1dSLionel Sambuc<A HREF="#about">about</A> 38*0a6a1f1dSLionel Sambuc· 39*0a6a1f1dSLionel Sambuc<A HREF="#install">installation</A> 40*0a6a1f1dSLionel Sambuc· 41*0a6a1f1dSLionel Sambuc<A HREF="#changes">changes</A> 42*0a6a1f1dSLionel Sambuc· 43*0a6a1f1dSLionel Sambuc<A HREF="#license">license</A> 44*0a6a1f1dSLionel Sambuc· 45*0a6a1f1dSLionel Sambuc<A HREF="contents.html">reference manual</A> 46*0a6a1f1dSLionel Sambuc</DIV> 4711be35a1SLionel Sambuc 48*0a6a1f1dSLionel Sambuc<H2><A NAME="about">About Lua</A></H2> 49*0a6a1f1dSLionel Sambuc<P> 50*0a6a1f1dSLionel SambucLua is a powerful, fast, lightweight, embeddable scripting language 51*0a6a1f1dSLionel Sambucdeveloped by a 52*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/authors.html">team</A> 53*0a6a1f1dSLionel Sambucat 54*0a6a1f1dSLionel Sambuc<A HREF="http://www.puc-rio.br/">PUC-Rio</A>, 55*0a6a1f1dSLionel Sambucthe Pontifical Catholic University of Rio de Janeiro in Brazil. 56*0a6a1f1dSLionel SambucLua is 57*0a6a1f1dSLionel Sambuc<A HREF="#license">free software</A> 58*0a6a1f1dSLionel Sambucused in many products and projects around the world. 5911be35a1SLionel Sambuc 60*0a6a1f1dSLionel Sambuc<P> 6111be35a1SLionel SambucLua's 6211be35a1SLionel Sambuc<A HREF="http://www.lua.org/">official web site</A> 63*0a6a1f1dSLionel Sambucprovides complete information 64*0a6a1f1dSLionel Sambucabout Lua, 65*0a6a1f1dSLionel Sambucincluding 66*0a6a1f1dSLionel Sambucan 67*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/about.html">executive summary</A> 68*0a6a1f1dSLionel Sambucand 69*0a6a1f1dSLionel Sambucupdated 70*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/docs.html">documentation</A>, 7111be35a1SLionel Sambucespecially the 72*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/manual/5.3/">reference manual</A>, 73*0a6a1f1dSLionel Sambucwhich may differ slightly from the 74*0a6a1f1dSLionel Sambuc<A HREF="contents.html">local copy</A> 75*0a6a1f1dSLionel Sambucdistributed in this package. 76*0a6a1f1dSLionel Sambuc 77*0a6a1f1dSLionel Sambuc<H2><A NAME="install">Installing Lua</A></H2> 78*0a6a1f1dSLionel Sambuc<P> 79*0a6a1f1dSLionel SambucLua is distributed in 80*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/ftp/">source</A> 81*0a6a1f1dSLionel Sambucform. 82*0a6a1f1dSLionel SambucYou need to build it before using it. 83*0a6a1f1dSLionel SambucBuilding Lua should be straightforward 84*0a6a1f1dSLionel Sambucbecause 85*0a6a1f1dSLionel SambucLua is implemented in pure ANSI C and compiles unmodified in all known 86*0a6a1f1dSLionel Sambucplatforms that have an ANSI C compiler. 87*0a6a1f1dSLionel SambucLua also compiles unmodified as C++. 88*0a6a1f1dSLionel SambucThe instructions given below for building Lua are for Unix-like platforms. 89*0a6a1f1dSLionel SambucSee also 90*0a6a1f1dSLionel Sambuc<A HREF="#other">instructions for other systems</A> 91*0a6a1f1dSLionel Sambucand 92*0a6a1f1dSLionel Sambuc<A HREF="#customization">customization options</A>. 93*0a6a1f1dSLionel Sambuc 94*0a6a1f1dSLionel Sambuc<P> 95*0a6a1f1dSLionel SambucIf you don't have the time or the inclination to compile Lua yourself, 96*0a6a1f1dSLionel Sambucget a binary from 97*0a6a1f1dSLionel Sambuc<A HREF="http://lua-users.org/wiki/LuaBinaries">LuaBinaries</A>. 98*0a6a1f1dSLionel SambucTry also 99*0a6a1f1dSLionel Sambuc<A HREF="http://luadist.org/">LuaDist</A>, 100*0a6a1f1dSLionel Sambuca multi-platform distribution of Lua that includes batteries. 101*0a6a1f1dSLionel Sambuc 102*0a6a1f1dSLionel Sambuc<H3>Building Lua</H3> 103*0a6a1f1dSLionel Sambuc<P> 104*0a6a1f1dSLionel SambucIn most Unix-like platforms, simply do "<KBD>make</KBD>" with a suitable target. 105*0a6a1f1dSLionel SambucHere are the details. 106*0a6a1f1dSLionel Sambuc 107*0a6a1f1dSLionel Sambuc<OL> 108*0a6a1f1dSLionel Sambuc<LI> 109*0a6a1f1dSLionel SambucOpen a terminal window and move to 110*0a6a1f1dSLionel Sambucthe top-level directory, which is named <TT>lua-5.3.x</TT>. 111*0a6a1f1dSLionel SambucThe <TT>Makefile</TT> there controls both the build process and the installation process. 112*0a6a1f1dSLionel Sambuc<P> 113*0a6a1f1dSLionel Sambuc<LI> 114*0a6a1f1dSLionel Sambuc Do "<KBD>make</KBD>" and see if your platform is listed. 115*0a6a1f1dSLionel Sambuc The platforms currently supported are: 116*0a6a1f1dSLionel Sambuc<P> 117*0a6a1f1dSLionel Sambuc<P CLASS="display"> 118*0a6a1f1dSLionel Sambuc aix bsd c89 freebsd generic linux macosx mingw posix solaris 119*0a6a1f1dSLionel Sambuc</P> 120*0a6a1f1dSLionel Sambuc<P> 121*0a6a1f1dSLionel Sambuc If your platform is listed, just do "<KBD>make xxx</KBD>", where xxx 122*0a6a1f1dSLionel Sambuc is your platform name. 123*0a6a1f1dSLionel Sambuc<P> 124*0a6a1f1dSLionel Sambuc If your platform is not listed, try the closest one or posix, generic, 125*0a6a1f1dSLionel Sambuc c89, in this order. 126*0a6a1f1dSLionel Sambuc<P> 127*0a6a1f1dSLionel Sambuc<LI> 128*0a6a1f1dSLionel SambucThe compilation takes only a few moments 129*0a6a1f1dSLionel Sambucand produces three files in the <TT>src</TT> directory: 130*0a6a1f1dSLionel Sambuclua (the interpreter), 131*0a6a1f1dSLionel Sambucluac (the compiler), 132*0a6a1f1dSLionel Sambucand liblua.a (the library). 133*0a6a1f1dSLionel Sambuc<P> 134*0a6a1f1dSLionel Sambuc<LI> 135*0a6a1f1dSLionel Sambuc To check that Lua has been built correctly, do "<KBD>make test</KBD>" 136*0a6a1f1dSLionel Sambuc after building Lua. This will run the interpreter and print its version. 137*0a6a1f1dSLionel Sambuc</OL> 138*0a6a1f1dSLionel Sambuc<P> 139*0a6a1f1dSLionel SambucIf you're running Linux and get compilation errors, 140*0a6a1f1dSLionel Sambucmake sure you have installed the <TT>readline</TT> development package 141*0a6a1f1dSLionel Sambuc(which is probably named <TT>libreadline-dev</TT> or <TT>readline-devel</TT>). 142*0a6a1f1dSLionel SambucIf you get link errors after that, 143*0a6a1f1dSLionel Sambucthen try "<KBD>make linux MYLIBS=-ltermcap</KBD>". 144*0a6a1f1dSLionel Sambuc 145*0a6a1f1dSLionel Sambuc<H3>Installing Lua</H3> 146*0a6a1f1dSLionel Sambuc<P> 147*0a6a1f1dSLionel Sambuc Once you have built Lua, you may want to install it in an official 148*0a6a1f1dSLionel Sambuc place in your system. In this case, do "<KBD>make install</KBD>". The official 149*0a6a1f1dSLionel Sambuc place and the way to install files are defined in the <TT>Makefile</TT>. You'll 150*0a6a1f1dSLionel Sambuc probably need the right permissions to install files. 151*0a6a1f1dSLionel Sambuc 152*0a6a1f1dSLionel Sambuc<P> 153*0a6a1f1dSLionel Sambuc To build and install Lua in one step, do "<KBD>make xxx install</KBD>", 154*0a6a1f1dSLionel Sambuc where xxx is your platform name. 155*0a6a1f1dSLionel Sambuc 156*0a6a1f1dSLionel Sambuc<P> 157*0a6a1f1dSLionel Sambuc To install Lua locally, do "<KBD>make local</KBD>". 158*0a6a1f1dSLionel Sambuc This will create a directory <TT>install</TT> with subdirectories 159*0a6a1f1dSLionel Sambuc <TT>bin</TT>, <TT>include</TT>, <TT>lib</TT>, <TT>man</TT>, <TT>share</TT>, 160*0a6a1f1dSLionel Sambuc and install Lua as listed below. 161*0a6a1f1dSLionel Sambuc 162*0a6a1f1dSLionel Sambuc To install Lua locally, but in some other directory, do 163*0a6a1f1dSLionel Sambuc "<KBD>make install INSTALL_TOP=xxx</KBD>", where xxx is your chosen directory. 164*0a6a1f1dSLionel Sambuc The installation starts in the <TT>src</TT> and <TT>doc</TT> directories, 165*0a6a1f1dSLionel Sambuc so take care if <TT>INSTALL_TOP</TT> is not an absolute path. 166*0a6a1f1dSLionel Sambuc 167*0a6a1f1dSLionel Sambuc<DL CLASS="display"> 168*0a6a1f1dSLionel Sambuc<DT> 169*0a6a1f1dSLionel Sambuc bin: 170*0a6a1f1dSLionel Sambuc<DD> 171*0a6a1f1dSLionel Sambuc lua luac 172*0a6a1f1dSLionel Sambuc<DT> 173*0a6a1f1dSLionel Sambuc include: 174*0a6a1f1dSLionel Sambuc<DD> 175*0a6a1f1dSLionel Sambuc lua.h luaconf.h lualib.h lauxlib.h lua.hpp 176*0a6a1f1dSLionel Sambuc<DT> 177*0a6a1f1dSLionel Sambuc lib: 178*0a6a1f1dSLionel Sambuc<DD> 179*0a6a1f1dSLionel Sambuc liblua.a 180*0a6a1f1dSLionel Sambuc<DT> 181*0a6a1f1dSLionel Sambuc man/man1: 182*0a6a1f1dSLionel Sambuc<DD> 183*0a6a1f1dSLionel Sambuc lua.1 luac.1 184*0a6a1f1dSLionel Sambuc</DL> 185*0a6a1f1dSLionel Sambuc 186*0a6a1f1dSLionel Sambuc<P> 187*0a6a1f1dSLionel Sambuc These are the only directories you need for development. 188*0a6a1f1dSLionel Sambuc If you only want to run Lua programs, 189*0a6a1f1dSLionel Sambuc you only need the files in <TT>bin</TT> and <TT>man</TT>. 190*0a6a1f1dSLionel Sambuc The files in <TT>include</TT> and <TT>lib</TT> are needed for 191*0a6a1f1dSLionel Sambuc embedding Lua in C or C++ programs. 192*0a6a1f1dSLionel Sambuc 193*0a6a1f1dSLionel Sambuc<H3><A NAME="customization">Customization</A></H3> 194*0a6a1f1dSLionel Sambuc<P> 195*0a6a1f1dSLionel Sambuc Three kinds of things can be customized by editing a file: 196*0a6a1f1dSLionel Sambuc<UL> 197*0a6a1f1dSLionel Sambuc <LI> Where and how to install Lua — edit <TT>Makefile</TT>. 198*0a6a1f1dSLionel Sambuc <LI> How to build Lua — edit <TT>src/Makefile</TT>. 199*0a6a1f1dSLionel Sambuc <LI> Lua features — edit <TT>src/luaconf.h</TT>. 200*0a6a1f1dSLionel Sambuc</UL> 201*0a6a1f1dSLionel Sambuc 202*0a6a1f1dSLionel Sambuc<P> 203*0a6a1f1dSLionel Sambuc You don't actually need to edit the Makefiles because you may set the 204*0a6a1f1dSLionel Sambuc relevant variables in the command line when invoking make. 205*0a6a1f1dSLionel Sambuc Nevertheless, it's probably best to edit and save the Makefiles to 206*0a6a1f1dSLionel Sambuc record the changes you've made. 207*0a6a1f1dSLionel Sambuc 208*0a6a1f1dSLionel Sambuc<P> 209*0a6a1f1dSLionel Sambuc On the other hand, if you need to customize some Lua features, you'll need 210*0a6a1f1dSLionel Sambuc to edit <TT>src/luaconf.h</TT> before building and installing Lua. 211*0a6a1f1dSLionel Sambuc The edited file will be the one installed, and 212*0a6a1f1dSLionel Sambuc it will be used by any Lua clients that you build, to ensure consistency. 213*0a6a1f1dSLionel Sambuc Further customization is available to experts by editing the Lua sources. 214*0a6a1f1dSLionel Sambuc 215*0a6a1f1dSLionel Sambuc<H3><A NAME="other">Building Lua on other systems</A></H3> 216*0a6a1f1dSLionel Sambuc<P> 217*0a6a1f1dSLionel Sambuc If you're not using the usual Unix tools, then the instructions for 218*0a6a1f1dSLionel Sambuc building Lua depend on the compiler you use. You'll need to create 219*0a6a1f1dSLionel Sambuc projects (or whatever your compiler uses) for building the library, 220*0a6a1f1dSLionel Sambuc the interpreter, and the compiler, as follows: 221*0a6a1f1dSLionel Sambuc 222*0a6a1f1dSLionel Sambuc<DL CLASS="display"> 223*0a6a1f1dSLionel Sambuc<DT> 224*0a6a1f1dSLionel Sambuclibrary: 225*0a6a1f1dSLionel Sambuc<DD> 226*0a6a1f1dSLionel Sambuclapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c 227*0a6a1f1dSLionel Sambuclmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c 228*0a6a1f1dSLionel Sambucltm.c lundump.c lvm.c lzio.c 229*0a6a1f1dSLionel Sambuclauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c 230*0a6a1f1dSLionel Sambuclmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c linit.c 231*0a6a1f1dSLionel Sambuc<DT> 232*0a6a1f1dSLionel Sambucinterpreter: 233*0a6a1f1dSLionel Sambuc<DD> 234*0a6a1f1dSLionel Sambuc library, lua.c 235*0a6a1f1dSLionel Sambuc<DT> 236*0a6a1f1dSLionel Sambuccompiler: 237*0a6a1f1dSLionel Sambuc<DD> 238*0a6a1f1dSLionel Sambuc library, luac.c 239*0a6a1f1dSLionel Sambuc</DL> 240*0a6a1f1dSLionel Sambuc 241*0a6a1f1dSLionel Sambuc<P> 242*0a6a1f1dSLionel Sambuc To use Lua as a library in your own programs you'll need to know how to 243*0a6a1f1dSLionel Sambuc create and use libraries with your compiler. Moreover, to dynamically load 244*0a6a1f1dSLionel Sambuc C libraries for Lua you'll need to know how to create dynamic libraries 245*0a6a1f1dSLionel Sambuc and you'll need to make sure that the Lua API functions are accessible to 246*0a6a1f1dSLionel Sambuc those dynamic libraries — but <EM>don't</EM> link the Lua library 247*0a6a1f1dSLionel Sambuc into each dynamic library. For Unix, we recommend that the Lua library 248*0a6a1f1dSLionel Sambuc be linked statically into the host program and its symbols exported for 249*0a6a1f1dSLionel Sambuc dynamic linking; <TT>src/Makefile</TT> does this for the Lua interpreter. 250*0a6a1f1dSLionel Sambuc For Windows, we recommend that the Lua library be a DLL. 251*0a6a1f1dSLionel Sambuc In all cases, the compiler luac should be linked statically. 252*0a6a1f1dSLionel Sambuc 253*0a6a1f1dSLionel Sambuc<P> 254*0a6a1f1dSLionel Sambuc As mentioned above, you may edit <TT>src/luaconf.h</TT> to customize 255*0a6a1f1dSLionel Sambuc some features before building Lua. 256*0a6a1f1dSLionel Sambuc 257*0a6a1f1dSLionel Sambuc<H2><A NAME="changes">Changes since Lua 5.2</A></H2> 258*0a6a1f1dSLionel Sambuc<P> 259*0a6a1f1dSLionel SambucHere are the main changes introduced in Lua 5.3. 260*0a6a1f1dSLionel SambucThe 261*0a6a1f1dSLionel Sambuc<A HREF="contents.html">reference manual</A> 262*0a6a1f1dSLionel Sambuclists the 263*0a6a1f1dSLionel Sambuc<A HREF="manual.html#8">incompatibilities</A> that had to be introduced. 264*0a6a1f1dSLionel Sambuc 265*0a6a1f1dSLionel Sambuc<H3>Main changes</H3> 266*0a6a1f1dSLionel Sambuc<UL> 267*0a6a1f1dSLionel Sambuc<LI> integers (64-bit by default) 268*0a6a1f1dSLionel Sambuc<LI> official support for 32-bit numbers 269*0a6a1f1dSLionel Sambuc<LI> bitwise operators 270*0a6a1f1dSLionel Sambuc<LI> basic utf-8 support 271*0a6a1f1dSLionel Sambuc<LI> functions for packing and unpacking values 272*0a6a1f1dSLionel Sambuc 273*0a6a1f1dSLionel Sambuc</UL> 274*0a6a1f1dSLionel Sambuc 275*0a6a1f1dSLionel SambucHere are the other changes introduced in Lua 5.3: 276*0a6a1f1dSLionel Sambuc<H3>Language</H3> 277*0a6a1f1dSLionel Sambuc<UL> 278*0a6a1f1dSLionel Sambuc<LI> userdata can have any Lua value as uservalue 279*0a6a1f1dSLionel Sambuc<LI> integer division 280*0a6a1f1dSLionel Sambuc<LI> more flexible rules for some metamethods 281*0a6a1f1dSLionel Sambuc</UL> 282*0a6a1f1dSLionel Sambuc 283*0a6a1f1dSLionel Sambuc<H3>Libraries</H3> 284*0a6a1f1dSLionel Sambuc<UL> 285*0a6a1f1dSLionel Sambuc<LI> <CODE>ipairs</CODE> and the table library respect metamethods 286*0a6a1f1dSLionel Sambuc<LI> strip option in <CODE>string.dump</CODE> 287*0a6a1f1dSLionel Sambuc<LI> table library respects metamethods 288*0a6a1f1dSLionel Sambuc<LI> new function <CODE>table.move</CODE> 289*0a6a1f1dSLionel Sambuc<LI> new function <CODE>string.pack</CODE> 290*0a6a1f1dSLionel Sambuc<LI> new function <CODE>string.unpack</CODE> 291*0a6a1f1dSLionel Sambuc<LI> new function <CODE>string.packsize</CODE> 292*0a6a1f1dSLionel Sambuc</UL> 293*0a6a1f1dSLionel Sambuc 294*0a6a1f1dSLionel Sambuc<H3>C API</H3> 295*0a6a1f1dSLionel Sambuc<UL> 296*0a6a1f1dSLionel Sambuc<LI> simpler API for continuation functions in C 297*0a6a1f1dSLionel Sambuc<LI> <CODE>lua_gettable</CODE> and similar functions return type of resulted value 298*0a6a1f1dSLionel Sambuc<LI> strip option in <CODE>lua_dump</CODE> 299*0a6a1f1dSLionel Sambuc<LI> new function: <CODE>lua_geti</CODE> 300*0a6a1f1dSLionel Sambuc<LI> new function: <CODE>lua_seti</CODE> 301*0a6a1f1dSLionel Sambuc<LI> new function: <CODE>lua_isyieldable</CODE> 302*0a6a1f1dSLionel Sambuc<LI> new function: <CODE>lua_numbertointeger</CODE> 303*0a6a1f1dSLionel Sambuc<LI> new function: <CODE>lua_rotate</CODE> 304*0a6a1f1dSLionel Sambuc<LI> new function: <CODE>lua_stringtonumber</CODE> 305*0a6a1f1dSLionel Sambuc</UL> 306*0a6a1f1dSLionel Sambuc 307*0a6a1f1dSLionel Sambuc<H3>Lua standalone interpreter</H3> 308*0a6a1f1dSLionel Sambuc<UL> 309*0a6a1f1dSLionel Sambuc<LI> can be used as calculator; no need to prefix with '=' 310*0a6a1f1dSLionel Sambuc<LI> <CODE>arg</CODE> table available to all code 311*0a6a1f1dSLionel Sambuc</UL> 312*0a6a1f1dSLionel Sambuc 313*0a6a1f1dSLionel Sambuc<H2><A NAME="license">License</A></H2> 314*0a6a1f1dSLionel Sambuc<P> 315*0a6a1f1dSLionel Sambuc<A HREF="http://www.opensource.org/docs/definition.php"> 316*0a6a1f1dSLionel Sambuc<IMG SRC="osi-certified-72x60.png" ALIGN="right" ALT="[osi certified]" STYLE="padding-left: 30px ;"> 317*0a6a1f1dSLionel Sambuc</A> 318*0a6a1f1dSLionel SambucLua is free software distributed under the terms of the 319*0a6a1f1dSLionel Sambuc<A HREF="http://www.opensource.org/licenses/mit-license.html">MIT license</A> 320*0a6a1f1dSLionel Sambucreproduced below; 321*0a6a1f1dSLionel Sambucit may be used for any purpose, including commercial purposes, 322*0a6a1f1dSLionel Sambucat absolutely no cost without having to ask us. 323*0a6a1f1dSLionel Sambuc 324*0a6a1f1dSLionel SambucThe only requirement is that if you do use Lua, 325*0a6a1f1dSLionel Sambucthen you should give us credit by including the appropriate copyright notice somewhere in your product or its documentation. 326*0a6a1f1dSLionel Sambuc 327*0a6a1f1dSLionel SambucFor details, see 328*0a6a1f1dSLionel Sambuc<A HREF="http://www.lua.org/license.html">this</A>. 329*0a6a1f1dSLionel Sambuc 330*0a6a1f1dSLionel Sambuc<BLOCKQUOTE STYLE="padding-bottom: 0em"> 331*0a6a1f1dSLionel SambucCopyright © 1994–2015 Lua.org, PUC-Rio. 332*0a6a1f1dSLionel Sambuc 333*0a6a1f1dSLionel Sambuc<P> 334*0a6a1f1dSLionel SambucPermission is hereby granted, free of charge, to any person obtaining a copy 335*0a6a1f1dSLionel Sambucof this software and associated documentation files (the "Software"), to deal 336*0a6a1f1dSLionel Sambucin the Software without restriction, including without limitation the rights 337*0a6a1f1dSLionel Sambucto use, copy, modify, merge, publish, distribute, sublicense, and/or sell 338*0a6a1f1dSLionel Sambuccopies of the Software, and to permit persons to whom the Software is 339*0a6a1f1dSLionel Sambucfurnished to do so, subject to the following conditions: 340*0a6a1f1dSLionel Sambuc 341*0a6a1f1dSLionel Sambuc<P> 342*0a6a1f1dSLionel SambucThe above copyright notice and this permission notice shall be included in 343*0a6a1f1dSLionel Sambucall copies or substantial portions of the Software. 344*0a6a1f1dSLionel Sambuc 345*0a6a1f1dSLionel Sambuc<P> 346*0a6a1f1dSLionel SambucTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 347*0a6a1f1dSLionel SambucIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 348*0a6a1f1dSLionel SambucFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 349*0a6a1f1dSLionel SambucAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 350*0a6a1f1dSLionel SambucLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 351*0a6a1f1dSLionel SambucOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 352*0a6a1f1dSLionel SambucTHE SOFTWARE. 353*0a6a1f1dSLionel Sambuc</BLOCKQUOTE> 35411be35a1SLionel Sambuc<P> 35511be35a1SLionel Sambuc 356*0a6a1f1dSLionel Sambuc<P CLASS="footer"> 35711be35a1SLionel SambucLast update: 358*0a6a1f1dSLionel SambucMon Jun 1 21:48:24 BRT 2015 359*0a6a1f1dSLionel Sambuc</P> 360*0a6a1f1dSLionel Sambuc<!-- 361*0a6a1f1dSLionel SambucLast change: revised for Lua 5.3.1 362*0a6a1f1dSLionel Sambuc--> 36311be35a1SLionel Sambuc 36411be35a1SLionel Sambuc</BODY> 36511be35a1SLionel Sambuc</HTML> 366