Skip to content
Lua Makefile
Latest commit a981040 @gvvaughan gvvaughan rockspec: install _base module with the correct name.
* stdlib-git-1.rockspec (build.modules): lib/std/_base.lua file
should be installed as `std._base`, because that is how the other
modules require it.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Failed to load latest commit information.
doc refactor: split object system out into its own package.
lib/std refactor: move non-shared functions out of std._base.
specs refactor: split object system out into its own package.
.gitignore configury: remove in favour of LuaRocks builtin build type.
.travis.yml travis: really don't uninstall the stdlib rock specl depends on!
AUTHORS.md configury: remove in favour of LuaRocks builtin build type.
LICENSE.md
Makefile refactor: split object system out into its own package.
NEWS.md refactor: split object system out into its own package.
README.md README.md: Fix a typo in the install instructions.
STYLE.md configury: remove in favour of LuaRocks builtin build type.
stdlib-git-1.rockspec rockspec: install _base module with the correct name.

README.md

Standard Lua libraries

by the stdlib project

License travis-ci status Stories in Ready

This is a collection of Lua libraries for Lua 5.1 (including LuaJIT), 5.2 and 5.3. The libraries are copyright by their authors 2000-2016 (see the AUTHORS file for details), and released under the MIT license (the same license as Lua itself). There is no warranty.

stdlib has no run-time prerequisites beyond a standard Lua system, though it will take advantage of strict and typecheck if they are installed.

Installation

The simplest and best way to install stdlib is with LuaRocks. To install the latest release (recommended):

    luarocks install stdlib

To install current git master (for testing, before submitting a bug report for example):

    luarocks install http://raw.githubusercontent.com/lua-stdlib/lua-stdlib/master/stdlib-git-1.rockspec

The best way to install without LuaRocks is to copy the std folder and its contents into a directory on your package search path.

Documentation

The latest release of these libraries is documented in LDoc. Pre-built HTML files are included in the release.

Bug reports and code contributions

These libraries are written and maintained by their users.

Please make bug reports and suggestions as GitHub Issues. Pull requests are especially appreciated.

But first, please check that your issue has not already been reported by someone else, and that it is not already fixed by master in preparation for the next release (see Installation section above for how to temporarily install master with LuaRocks).

There is no strict coding style, but please bear in mind the following points when proposing changes:

  1. Follow existing code. There are a lot of useful patterns and avoided traps there.

  2. 2-character indentation using SPACES in Lua sources.

Something went wrong with that request. Please try again.