See the copyright information in the file named COPYRIGHT.
sudo luarocks install lua-nucleo
sudo luarocks install luafilesystem
sudo luarocks install lbci
sudo luarocks install luasocket
If you're in a require-friendly environment, you may install lua-aplicado from luarocks (http://www.luarocks.org):
luarocks install lua-aplicado
Or, if you want to get the most current code, use rocks-cvs version:
luarocks install \
lua-aplicado \
--from=http://luarocks.org/repositories/rocks-cvs
Otherwise, copy lua-aplicado directory whereever is comfortable. Make sure that dependencies are installed as well.
To use lua-aplicado in require-friendly environment, do as follows:
require 'lua-aplicado.module'
This assumes that lua-aplicado directory is somewhere in the package.path
Note that you may also want to enable the strict mode of the lua-nucleo (aka the Global Environment Protection):
require 'lua-nucleo.strict'
For all other lua-aplicado files, use import().
Note that if you want to keep using require(),
you may replace in your code
local foo, bar = import 'lua-aplicado/baz/quo.lua' { 'foo', 'bar' }
with
local quo = require 'lua-aplicado.baz.quo'
local foo, bar = quo.foo, quo.bar
Copy or symlink lua-nucleo/lua-nucleo and lua-aplicado/lua-aplicado
directories to the same directory.
Set CODE_ROOT Lua variable to path to that directory.
dofile(CODE_ROOT..'lua-nucleo/strict.lua')
assert(loadfile(CODE_ROOT..'lua-nucleo/import.lua'))(CODE_ROOT)
After that use import().
To run tests, create a symlink 'lua-nucleo' to lua-nucleo/lua-nucleo
at the root directory of the project.
(TODO: Note that tests are not yet implemented.)
Sorry, the documentation for the project is not available at this point. Read the source and tests.
See file named TODO.
Post your questions to the Lua mailing list: http://www.lua.org/lua-l.html