The LuaPlus distribution contains some modifications to the core Lua code base.
The LuaPlus distribution contains some modifications to the core Lua code base. As such, it is not an official distribution of Lua 5.1, nor does it intend to represent itself as one.
Benefits
The LuaPlus distribution provides the following functionality.
- All the power of the core lua-5.1 work distribution.
- An optional high performance reference counted garbage collector.
- The C++ interface, described below, masks many of the intricacies of core Lua's underlying low-level C API. In particular, stack management is mostly ignored. Other useful helper classes, such as management of ref'ed objects or the stack, table traversal, and table lookups are provided, dramatically simplifying the application code.
- Simplified function calling convention. Inspired by, to a limited degree, Python's use of tuples in its C API, the new function calling convention masks the stack pushing and popping associated with the low-level calling convention.
Lua Core Enhancements:
- 16-bit wide character string support.
- Tight integration of the extra string type was necessarily built into the code base. Any reference to
LUA_TSTRING
in the Lua core code base was supplemented with an equivalent wide characterLUA_TWSTRING
. - Direct support for opening Unicode files available.
Useful Links
- Project page - http://luaplus.org/
- GitHub repository - https://github.com/jjensen/luaplus51-all
- Official boards - http://luaplus.org/projects/luaplus/boards