Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
Philipp Janda edited this page Mar 12, 2015 · 4 revisions

Compat-5.2

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

Some of the functions implemented by Compat-5.2 do not provide 100% compatibility with Lua 5.2 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 are available for Lua 5.0, too, but there is no support, and missing functions are not listed here.