goto /labels | ❌ | |
_ENV | 🔶 | The _ENV global points to getfenv() , but it cannot be set. |
\z escape | ✔ | |
\xNN escape | ✔ | |
Hex literal fractional/exponent parts | ✔ | |
Empty statements | ❌ | |
__len metamethod | ✔ | |
__ipairs metamethod | ❌ | Deprecated in Lua 5.3. ipairs uses __len /__index instead. |
__pairs metamethod | ✔ | |
bit32 library | ✔ | |
collectgarbage isrunning, generational, incremental options | ❌ | collectgarbage does not exist in CC:T. |
New load syntax | ✔ | |
loadfile mode parameter | ✔ | Supports both 5.1 and 5.2+ syntax. |
Removed loadstring | 🔶 | Only if disable_lua51_features is enabled in the configuration. |
Removed getfenv , setfenv | 🔶 | Only if disable_lua51_features is enabled in the configuration. |
rawlen function | ✔ | |
Negative index to select | ✔ | |
Removed unpack | 🔶 | Only if disable_lua51_features is enabled in the configuration. |
Arguments to xpcall | ✔ | |
Second return value from coroutine.running | ✔ | |
Removed module | ✔ | |
package.loaders -> package.searchers | ❌ | |
Second argument to loader functions | ✔ | |
package.config | ✔ | |
package.searchpath | ✔ | |
Removed package.seeall | ✔ | |
string.dump on functions with upvalues (blanks them out) | ✔ | |
string.rep separator | ✔ | |
%g match group | ❌ | |
Removal of %z match group | ❌ | |
Removed table.maxn | 🔶 | Only if disable_lua51_features is enabled in the configuration. |
table.pack /table.unpack | ✔ | |
math.log base argument | ✔ | |
Removed math.log10 | 🔶 | Only if disable_lua51_features is enabled in the configuration. |
*L mode to file:read | ✔ | |
os.execute exit type + return value | ❌ | os.execute does not exist in CC:T. |
os.exit close argument | ❌ | os.exit does not exist in CC:T. |
istailcall field in debug.getinfo | ❌ | |
nparams field in debug.getinfo | ✔ | |
isvararg field in debug.getinfo | ✔ | |
debug.getlocal negative indices for varargs | ❌ | |
debug.getuservalue /debug.setuservalue | ❌ | Userdata are rarely used in CC:T, so this is not necessary. |
debug.upvalueid | ✔ | |
debug.upvaluejoin | ✔ | |
Tail call hooks | ❌ | |
= prefix for chunks | ✔ | |
Yield across C boundary | ✔ | |
Removal of ambiguity error | ❌ | |
Identifiers may no longer use locale-dependent letters | ✔ | |
Ephemeron tables | ❌ | |
Identical functions may be reused | ❌ | Removed in Lua 5.4 |
Generational garbage collector | ❌ | Cobalt uses the built-in Java garbage collector. |