Skip to content

5.2

Lua 5.2 Reference Manual#8 – Incompatibilities with the Previous Version

https://www.lua.org/manual/5.2/readme.html#changes

unpack => table.unpack

Since Lua 5.2 unpack function is now at table.unpack

removed: newproxy

getfenv/setfenv => _ENV

_ENV と呼ばれる上位値になったのは Lua 5.2 以降の話で、 Lua 5.1 時代は同様のものが getfenv/setfenv

gotoの追加

deprecated: luaL_register