Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Lua Base

The Voxelius runtime exposes these common Lua APIs:

TableNotes
LUA_GNAME
LUA_TABLIBNAME
LUA_STRLIBNAME
LUA_MATHLIBNAME
LUA_UTF8LIBNAME

Stripped globals

GlobalReason
loadfileSandbox breaking
loadSandbox breaking
collectgarbageSandbox breaking

Replaced globals

GlobalOverridden behaviour
dofileTreats the input path as a namespaced identifier. It implies the scripts subdirectory. Returns the results of the chunk
requireTakes a namespaced ID. The namespace must be explicit. Files come from the lib directory
printPrefixes the calling chunk and line, joins the arguments with tabs and calls msg::log_info