lua vocabulary
Factor handbook > Vocabulary index


Summary
FFI bindings to the Lua programming language.

Meta-data
Tags:languages
Authors:Erik Charlebois


Words

Tuple classes
ClassSuperclassSlots
luaL_Buffer struct
luaL_Reg struct
lua_Debug struct


Symbol words
LUA_INTEGER
LUA_NUMBER
lua_Chunkreader
lua_Chunkwriter
lua_Integer
lua_Number
lua_State


Ordinary words
WordStack effect
LUAL_BUFFERSIZE( -- x )
LUA_ENVIRONINDEX( -- value )
LUA_ERRERR( -- value )
LUA_ERRFILE( -- x )
LUA_ERRMEM( -- value )
LUA_ERRRUN( -- value )
LUA_ERRSYNTAX( -- value )
LUA_GCCOLLECT( -- value )
LUA_GCCOUNT( -- value )
LUA_GCCOUNTB( -- value )
LUA_GCRESTART( -- value )
LUA_GCSETPAUSE( -- value )
LUA_GCSETSTEPMUL( -- value )
LUA_GCSTEP( -- value )
LUA_GCSTOP( -- value )
LUA_GLOBALSINDEX( -- value )
LUA_HOOKCALL( -- value )
LUA_HOOKCOUNT( -- value )
LUA_HOOKLINE( -- value )
LUA_HOOKRET( -- value )
LUA_HOOKTAILRET( -- value )
LUA_IDSIZE( -- value )
LUA_MASKCALL( n -- n )
LUA_MASKCOUNT( n -- n )
LUA_MASKLINE( n -- n )
LUA_MASKRET( n -- n )
LUA_MINSTACK( -- value )
LUA_MULTRET( -- value )
LUA_REGISTRYINDEX( -- value )
LUA_SIGNATURE( -- value )
LUA_TBOOLEAN( -- value )
LUA_TFUNCTION( -- value )
LUA_TLIGHTUSERDATA( -- value )
LUA_TNIL( -- value )
LUA_TNONE( -- value )
LUA_TNUMBER( -- value )
LUA_TSTRING( -- value )
LUA_TTABLE( -- value )
LUA_TTHREAD( -- value )
LUA_TUSERDATA( -- value )
LUA_YIELD( -- value )
luaI_openlib( L libname l nup -- )
luaL_addchar( B c -- )
luaL_addlstring( B s l -- )
luaL_addsize( B n -- )
luaL_addstring( B s -- )
luaL_addvalue( B -- )
luaL_argcheck( L cond numarg extramsg -- int )
luaL_argerror( L numarg extramsg -- int )
luaL_buffinit( L B -- )
luaL_callmeta( L obj e -- int )
luaL_checkany( L narg -- )
luaL_checkint( L n -- int )
luaL_checkinteger( L numArg -- lua_Integer )
luaL_checklong( L n -- long )
luaL_checklstring( L numArg l -- c-string[ascii] )
luaL_checknumber( L numArg -- lua_Number )
luaL_checkoption( L narg def lst -- int )
luaL_checkstack( L sz msg -- )
luaL_checkstring( L n -- string )
luaL_checktype( L narg t -- )
luaL_checkudata( L ud tname -- void* )
luaL_dofile( L fn -- int )
luaL_dostring( L s -- int )
luaL_findtable( L idx fname szhint -- c-string[ascii] )
luaL_getmetafield( L obj e -- int )
luaL_getmetatable( L n -- )
luaL_getn( L i -- int )
luaL_gsub( L s p r -- c-string[ascii] )
luaL_loadbuffer( L buff sz name -- int )
luaL_loadfile( L filename -- int )
luaL_loadstring( L s -- int )
luaL_newmetatable( L tname -- int )
luaL_newstate( -- lua_State* )
luaL_optint( L n d -- int )
luaL_optinteger( L nArg def -- lua_Integer )
luaL_optlong( L n d -- long )
luaL_optlstring( L numArg def l -- c-string[ascii] )
luaL_optnumber( L nArg def -- lua_Number )
luaL_optstring( L n d -- string )
luaL_prepbuffer( B -- char* )
luaL_pushresult( B -- )
luaL_putchar( B c -- )
luaL_ref( L t -- int )
luaL_register( L libname l -- )
luaL_setn( L i j -- )
luaL_typename( L i -- string )
luaL_typerror( L narg tname -- int )
luaL_unref( L t ref -- )
luaL_where( L lvl -- )
lua_Alloc( quot -- alien )
lua_CFunction( quot -- alien )
lua_Hook( quot -- alien )
lua_Reader( quot -- alien )
lua_Writer( quot -- alien )
lua_atpanic( L panicf -- lua_CFunction )
lua_call( L nargs nresults -- )
lua_checkstack( L sz -- int )
lua_close( L -- )
lua_concat( L n -- )
lua_cpcall( L func ud -- int )
lua_createtable( L narr nrec -- )
lua_dump( L writer data -- int )
lua_equal( L idx1 idx2 -- int )
lua_error( L -- int )
lua_gc( L what data -- int )
lua_getallocf( L ud -- lua_Alloc )
lua_getfenv( L idx -- )
lua_getfield( L idx k -- )
lua_getgccount( L -- int )
lua_getglobal( L s -- )
lua_gethook( L -- lua_Hook )
lua_gethookcount( L -- int )
lua_gethookmask( L -- int )
lua_getinfo( L what ar -- int )
lua_getlocal( L ar n -- c-string[ascii] )
lua_getmetatable( L objindex -- int )
lua_getregistry( L -- )
lua_getstack( L level ar -- int )
lua_gettable( L idx -- )
lua_gettop( L -- int )
lua_getupvalue( L funcindex n -- c-string[ascii] )
lua_insert( L idx -- )
lua_isboolean( L n -- ? )
lua_iscfunction( L idx -- int )
lua_isfunction( L n -- ? )
lua_islightuserdata( L n -- ? )
lua_isnil( L n -- ? )
lua_isnone( L n -- ? )
lua_isnoneornil( L n -- ? )
lua_isnumber( L idx -- int )
lua_isstring( L idx -- int )
lua_istable( L n -- ? )
lua_isthread( L n -- ? )
lua_isuserdata( L idx -- int )
lua_lessthan( L idx1 idx2 -- int )
lua_load( L reader dt chunkname -- int )
lua_newstate( f ud -- lua_State* )
lua_newtable( L -- )
lua_newthread( L -- lua_State* )
lua_newuserdata( L sz -- void* )
lua_next( L idx -- int )
lua_objlen( L idx -- size_t )
lua_open( -- lua_State* )
lua_pcall( L nargs nresults errfunc -- int )
lua_pop( L n -- )
lua_pushboolean( L b -- )
lua_pushcclosure( L fn n -- )
lua_pushcfunction( L f -- )
lua_pushinteger( L n -- )
lua_pushlightuserdata( L p -- )
lua_pushlstring( L s l -- )
lua_pushnil( L -- )
lua_pushnumber( L n -- )
lua_pushstring( L s -- )
lua_pushthread( L -- int )
lua_pushvalue( L idx -- )
lua_rawequal( L idx1 idx2 -- int )
lua_rawget( L idx -- )
lua_rawgeti( L idx n -- )
lua_rawset( L idx -- )
lua_rawseti( L idx n -- )
lua_register( L n f -- )
lua_remove( L idx -- )
lua_replace( L idx -- )
lua_resume( L narg -- int )
lua_setallocf( L f ud -- )
lua_setfenv( L idx -- int )
lua_setfield( L idx k -- )
lua_setglobal( L s -- )
lua_sethook( L func mask count -- int )
lua_setlevel( from to -- )
lua_setlocal( L ar n -- c-string[ascii] )
lua_setmetatable( L objindex -- int )
lua_settable( L idx -- )
lua_settop( L idx -- )
lua_setupvalue( L funcindex n -- c-string[ascii] )
lua_status( L -- int )
lua_strlen( L i -- size_t )
lua_toboolean( L idx -- int )
lua_tocfunction( L idx -- lua_CFunction )
lua_tointeger( L idx -- lua_Integer )
lua_tolstring( L idx len -- c-string[ascii] )
lua_tonumber( L idx -- lua_Number )
lua_topointer( L idx -- void* )
lua_tostring( L i -- string )
lua_tothread( L idx -- lua_State* )
lua_touserdata( L idx -- void* )
lua_type( L idx -- int )
lua_typename( L tp -- c-string[ascii] )
lua_upvalueindex( i -- i )
lua_xmove( from to n -- )
lua_yield( L nresults -- int )


Class predicate words
WordStack effect
luaL_Buffer?( object -- ? )
luaL_Reg?( object -- ? )
lua_Debug?( object -- ? )


Files