Список подключенных модулей

К TIC-80 подключены некоторые стандартные модули Lua.
Язык Lua 5.3 собран в режиме совместимости с 5.2 (параметр LUA_COMPAT_5_2)
Прежде всего это заметно в модуле math - такие функции как: atan2, cosh, sinh, tanh, pow, frexp, ldexp оставлены из версии 5.2, в то время как из обычной версии Lua 5.3 их исключили.
Ниже представлен список библиотек и их функции/переменные в алфавитном порядке:

  • basic library
    • assert (v [, message])
    • collectgarbage ([opt [, arg]])
    • dofile ([filename])
    • dump
    • error (message [, level])
    • _G
    • getmetatable (object)
    • ipairs (t)
    • next (table [, index])
    • pairs (t)
    • pcall (f [, arg1, ···])
    • rawequal (v1, v2)
    • rawget (table, index)
    • rawlen (v)
    • rawset (table, index, value)
    • select (index, ···)
    • setmetatable (table, metatable)
    • tonumber (e [, base])
    • tostring (v)
    • type (v)
    • _VERSION
    • xpcall (f, msgh [, arg1, ···])
  • coroutine library
    • coroutine.create (f)
    • coroutine.isyieldable ()
    • coroutine.resume (co [, val1, ···])
    • coroutine.running ()
    • coroutine.status (co)
    • coroutine.wrap (f)
    • coroutine.yield (···)
  • string library
    • string.byte (s [, i [, j]])
    • string.char (···)
    • string.dump (function [, strip])
    • string.find (s, pattern [, init [, plain]])
    • string.format (formatstring, ···)
    • string.gmatch (s, pattern)
    • string.gsub (s, pattern, repl [, n])
    • string.len (s)
    • string.lower (s)
    • string.match (s, pattern [, init])
    • string.rep (s, n [, sep])
    • string.reverse (s)
    • string.sub (s, i [, j])
    • string.upper (s)
  • table library
    • table.concat (list [, sep [, i [, j]]])
    • table.insert (list, [pos,] value)
    • table.move (a1, f, e, t [,a2])
    • table.pack (···)
    • table.remove (list [, pos])
    • table.sort (list [, comp])
    • table.unpack (list [, i [, j]])
  • math library
    • math.abs (x)
    • math.acos (x)
    • math.asin (x)
    • math.atan (y [, x])
    • math.atan2 (x, y)
    • math.ceil (x)
    • math.cos (x)
    • math.cosh (x)
    • math.deg (x)
    • math.exp (x)
    • math.floor (x)
    • math.fmod (x, y)
    • math.frexp (x)
    • math.huge
    • math.ldexp (m, e)
    • math.log (x [, base])
    • math.log10 (x)
    • math.max (x, ···)
    • math.maxinteger
    • math.min (x, ···)
    • math.mininteger
    • math.modf (x)
    • math.pi
    • math.rad (x)
    • math.random ([m [, n]])
    • math.randomseed (x)
    • math.sin (x)
    • math.sinh (x)
    • math.sqrt (x)
    • math.tan (x)
    • math.tanh (x)
    • math.tointeger (x)
    • math.type (x)
    • math.ult (m, n)

results matching ""

    No results matching ""