| 1 |
Standard Lua libraries |
| 2 |
---------------------- |
| 3 |
|
| 4 |
by the stdlib project (http://github.com/rrthomas/lua-stdlib/) |
| 5 |
|
| 6 |
|
| 7 |
This is a collection of Lua libraries for Lua 5.1 and 5.2. The |
| 8 |
libraries are copyright by their authors 2000-2013 (see the AUTHORS |
| 9 |
file for details), and released under the MIT license (the same |
| 10 |
license as Lua itself). There is no warranty. |
| 11 |
|
| 12 |
The standard subset of stdlib has no prerequisites beyond a standard |
| 13 |
Lua system. The following modules have extra dependencies: |
| 14 |
|
| 15 |
fstable: Lua 5.2, lfs, luaposix |
| 16 |
|
| 17 |
|
| 18 |
Installation |
| 19 |
------------ |
| 20 |
|
| 21 |
The simplest way to install stdlib is with LuaRocks |
| 22 |
(http://www.luarocks.org/ ): |
| 23 |
|
| 24 |
luarocks install stdlib |
| 25 |
|
| 26 |
|
| 27 |
Use |
| 28 |
--- |
| 29 |
|
| 30 |
As well as requiring individual libraries, you can load the standard |
| 31 |
set with |
| 32 |
|
| 33 |
require "std" |
| 34 |
|
| 35 |
Modules not in the standard set may be removed from future versions of |
| 36 |
stdlib. |
| 37 |
|
| 38 |
|
| 39 |
Documentation |
| 40 |
------------- |
| 41 |
|
| 42 |
The libraries are documented in LuaDoc. Pre-built HTML files are |
| 43 |
included. |
| 44 |
|
| 45 |
|
| 46 |
Bug reports and code contributions |
| 47 |
---------------------------------- |
| 48 |
|
| 49 |
These libraries are maintained and extended by their users. Please |
| 50 |
make bug report and suggestions on GitHub (see URL at top of file). |
| 51 |
Pull requests are especially appreciated. |