このリファレンスマニュアルは、Lua言語の公式定義です。Luaプログラミングの完全な入門書としては、Programming in Luaをご覧ください。
Copyright © 2020–2023 Lua.org, PUC-Rio. Luaライセンスの条項に基づき自由に利用可能です。
基本 _G _VERSION assert collectgarbage dofile error getmetatable ipairs load loadfile next pairs pcall print rawequal rawget rawlen rawset require select setmetatable tonumber tostring type warn xpcall
coroutine coroutine.close coroutine.create coroutine.isyieldable coroutine.resume coroutine.running coroutine.status coroutine.wrap coroutine.yield
debug debug.debug debug.gethook debug.getinfo debug.getlocal debug.getmetatable debug.getregistry debug.getupvalue debug.getuservalue debug.sethook debug.setlocal debug.setmetatable debug.setupvalue debug.setuservalue debug.traceback debug.upvalueid debug.upvaluejoin
io io.close io.flush io.input io.lines io.open io.output io.popen io.read io.stderr io.stdin io.stdout io.tmpfile io.type io.write file:close file:flush file:lines file:read file:seek file:setvbuf file:write
math math.abs math.acos math.asin math.atan math.ceil math.cos math.deg math.exp math.floor math.fmod math.huge math.log math.max math.maxinteger math.min math.mininteger math.modf math.pi math.rad math.random math.randomseed math.sin math.sqrt math.tan math.tointeger math.type math.ult
os os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename os.setlocale os.time os.tmpname
package package.config package.cpath package.loaded package.loadlib package.path package.preload package.searchers package.searchpath
string string.byte string.char string.dump string.find string.format string.gmatch string.gsub string.len string.lower string.match string.pack string.packsize string.rep string.reverse string.sub string.unpack string.upper
table table.concat table.insert table.move table.pack table.remove table.sort table.unpack
utf8 utf8.char utf8.charpattern utf8.codepoint utf8.codes utf8.len utf8.offset
__add __band __bnot __bor __bxor __call __close __concat __div __eq __gc __idiv __index __le __len __lt __metatable __mod __mode __mul __name __newindex __pairs __pow __shl __shr __sub __tostring __unm
LUA_CPATH LUA_CPATH_5_4 LUA_INIT LUA_INIT_5_4 LUA_PATH LUA_PATH_5_4
lua_Alloc lua_CFunction lua_Debug lua_Hook lua_Integer lua_KContext lua_KFunction lua_Number lua_Reader lua_State lua_Unsigned lua_WarnFunction lua_Writer
lua_absindex lua_arith lua_atpanic lua_call lua_callk lua_checkstack lua_close lua_closeslot lua_closethread lua_compare lua_concat lua_copy lua_createtable lua_dump lua_error lua_gc lua_getallocf lua_getextraspace lua_getfield lua_getglobal lua_gethook lua_gethookcount lua_gethookmask lua_geti lua_getinfo lua_getiuservalue lua_getlocal lua_getmetatable lua_getstack lua_gettable lua_gettop lua_getupvalue lua_insert lua_isboolean lua_iscfunction lua_isfunction lua_isinteger lua_islightuserdata lua_isnil lua_isnone lua_isnoneornil lua_isnumber lua_isstring lua_istable lua_isthread lua_isuserdata lua_isyieldable lua_len lua_load lua_newstate lua_newtable lua_newthread lua_newuserdatauv lua_next lua_numbertointeger lua_pcall lua_pcallk lua_pop lua_pushboolean lua_pushcclosure lua_pushcfunction lua_pushfstring lua_pushglobaltable lua_pushinteger lua_pushlightuserdata lua_pushliteral lua_pushlstring lua_pushnil lua_pushnumber lua_pushstring lua_pushthread lua_pushvalue lua_pushvfstring lua_rawequal lua_rawget lua_rawgeti lua_rawgetp lua_rawlen lua_rawset lua_rawseti lua_rawsetp lua_register lua_remove lua_replace lua_resetthread lua_resume lua_rotate lua_setallocf lua_setfield lua_setglobal lua_sethook lua_seti lua_setiuservalue lua_setlocal lua_setmetatable lua_settable lua_settop lua_setupvalue lua_setwarnf lua_status lua_stringtonumber lua_toboolean lua_tocfunction lua_toclose lua_tointeger lua_tointegerx lua_tolstring lua_tonumber lua_tonumberx lua_topointer lua_tostring lua_tothread lua_touserdata lua_type lua_typename lua_upvalueid lua_upvalueindex lua_upvaluejoin lua_version lua_warning lua_xmove lua_yield lua_yieldk
luaL_Buffer luaL_Reg luaL_Stream
luaL_addchar luaL_addgsub luaL_addlstring luaL_addsize luaL_addstring luaL_addvalue luaL_argcheck luaL_argerror luaL_argexpected luaL_buffaddr luaL_buffinit luaL_buffinitsize luaL_bufflen luaL_buffsub luaL_callmeta luaL_checkany luaL_checkinteger luaL_checklstring luaL_checknumber luaL_checkoption luaL_checkstack luaL_checkstring luaL_checktype luaL_checkudata luaL_checkversion luaL_dofile luaL_dostring luaL_error luaL_execresult luaL_fileresult luaL_getmetafield luaL_getmetatable luaL_getsubtable luaL_gsub luaL_len luaL_loadbuffer luaL_loadbufferx luaL_loadfile luaL_loadfilex luaL_loadstring luaL_newlib luaL_newlibtable luaL_newmetatable luaL_newstate luaL_openlibs luaL_opt luaL_optinteger luaL_optlstring luaL_optnumber luaL_optstring luaL_prepbuffer:バッファを準備する luaL_prepbuffsize:バッファサイズを準備する luaL_pushfail:失敗をプッシュする luaL_pushresult:結果をプッシュする luaL_pushresultsize:結果のサイズをプッシュする luaL_ref:参照を作成する luaL_requiref:モジュールをロードし、参照を作成する luaL_setfuncs:関数をテーブルに設定する luaL_setmetatable:メタテーブルを設定する luaL_testudata:ユーザーデータをテストする luaL_tolstring:値を文字列に変換する luaL_traceback:トレースバックを取得する luaL_typeerror:型エラーを発生させる luaL_typename:型の名前を取得する luaL_unref:参照を解放する luaL_where:エラー発生場所の情報を取得する
luaopen_base:基本ライブラリを開く luaopen_coroutine:コルーチンライブラリを開く luaopen_debug:デバッグライブラリを開く luaopen_io:入出力ライブラリを開く luaopen_math:数学ライブラリを開く luaopen_os:OSライブラリを開く luaopen_package:パッケージライブラリを開く luaopen_string:文字列ライブラリを開く luaopen_table:テーブルライブラリを開く luaopen_utf8:UTF-8ライブラリを開く
LUA_ERRERR:エラー処理中のエラー LUA_ERRFILE:ファイルエラー LUA_ERRMEM:メモリ割り当てエラー LUA_ERRRUN:実行時エラー LUA_ERRSYNTAX:構文エラー LUA_HOOKCALL:関数呼び出しフック LUA_HOOKCOUNT:命令カウントフック LUA_HOOKLINE:行フック LUA_HOOKRET:関数戻りフック LUA_HOOKTAILCALL:末尾呼び出しフック LUA_LOADED_TABLE:ロード済みモジュールテーブル名 LUA_MASKCALL:呼び出しマスク LUA_MASKCOUNT:カウントマスク LUA_MASKLINE:行マスク LUA_MASKRET:戻りマスク LUA_MAXINTEGER:最大整数値 LUA_MININTEGER:最小整数値 LUA_MINSTACK:最小スタックサイズ LUA_MULTRET:複数の戻り値 LUA_NOREF:無効な参照 LUA_OK:成功 LUA_OPADD:加算演算子 LUA_OPBAND:ビットAND演算子 LUA_OPBNOT:ビットNOT演算子 LUA_OPBOR:ビットOR演算子 LUA_OPBXOR:ビットXOR演算子 LUA_OPDIV:除算演算子 LUA_OPEQ:等価演算子 LUA_OPIDIV:整数除算演算子 LUA_OPLE:以下演算子 LUA_OPLT:未満演算子 LUA_OPMOD:剰余演算子 LUA_OPMUL:乗算演算子 LUA_OPPOW:べき乗演算子 LUA_OPSHL:左シフト演算子 LUA_OPSHR:右シフト演算子 LUA_OPSUB:減算演算子 LUA_OPUNM:単項マイナス演算子 LUA_PRELOAD_TABLE:プリロードテーブル名 LUA_REFNIL:nil参照 LUA_REGISTRYINDEX:レジストリインデックス LUA_RIDX_GLOBALS:グローバルテーブルインデックス LUA_RIDX_MAINTHREAD:メインスレッドインデックス LUA_TBOOLEAN:真偽値型 LUA_TFUNCTION:関数型 LUA_TLIGHTUSERDATA:軽量ユーザーデータ型 LUA_TNIL:nil型 LUA_TNONE:型なし LUA_TNUMBER:数値型 LUA_TSTRING:文字列型 LUA_TTABLE:テーブル型 LUA_TTHREAD:スレッド型 LUA_TUSERDATA:ユーザーデータ型 LUA_USE_APICHECK:APIチェック有効化 LUA_YIELD:yield LUAL_BUFFERSIZE:バッファサイズ
最終更新日:2023年5月3日水曜日 09:47:47 UTC