lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

The Package Compatibility (Compat-5.1) is a set of files which provides an
implementation of the new package model of Lua 5.1 to be used in Lua 5.0.
Compat-5.1 release 3 follows Lua 5.1 work 6 implementation.

The implementation differences could be summarized in:
    * Tables package and package.loaded are linked to functions require()
and module() so that there is no way to change these tables per se, only its
fields.
    * Function require() uses a list of loaders which are functions
responsible for trying to load a module. Table package.loaders store these
functions.

Compat-5.1 is free software and uses the same license as Lua 5.0.

For more information on Compat-5.1 please check
http://www.keplerproject.org/compat/

Any feedback is welcome!

André Carregal
www.keplerproject.org