Skip to content
Philipp Janda edited this page Apr 21, 2015 · 4 revisions

Compat-5.3

Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1.

Some of the functions implemented by Compat-5.3 do not provide 100% compatibility with Lua 5.3 due to technical reasons. This page links to specific information about each affected function.

Lua API

Differing error messages or stack traces are not listed as incompatibilities here.

C API

Most implemented functions use the Lua stack for temporary values (and may use more stack space than the original function), but they ensure that enough space is available by means of luaL_checkstack. Also, differing error messages are not explicitly listed as incompatibilities. Some functions in the original 5.3 C API are implemented as macros instead.

Clone this wiki locally