From 567e12ce3f1ef413afa510cb583d6ac8442a7a4a Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 23 Feb 2017 08:59:35 +0100 Subject: coroutines --- README.md | 169 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 88 insertions(+), 81 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f67e193..fd3b3bd 100644 --- a/README.md +++ b/README.md @@ -21,65 +21,73 @@ - [ ] `__tostring` - [ ] `__pairs` - [ ] C API - - [x] lua_version + - [x] lua_absindex - [x] lua_atpanic - - [x] lua_newstate - - [x] lua_pushnil - - [x] lua_gettop - - [x] lua_type - - [x] lua_typename - - [x] lua_pushboolean - - [x] lua_pushinteger - - [x] lua_pushnumber - - [x] lua_pushlstring - - [x] lua_pushstring - - [x] lua_pushvalue - - [x] lua_tointeger - - [x] lua_tointegerx - - [x] lua_tolstring - - [x] lua_tonumber - - [x] lua_tonumberx - - [x] lua_toboolean - - [x] lua_topointer - - [x] lua_pushjsclosure (lua_pushcclosure) - - [x] lua_pushjsfunction (lua_pushcfunction) - - [x] lua_pop - - [x] lua_load - [x] lua_call - [x] lua_callk - - [x] lua_pcall - - [x] lua_setglobal - - [x] lua_upvalueindex - - [x] lua_createtable - - [x] lua_newtable - - [x] lua_gettable - - [x] lua_settable - - [x] lua_absindex - [x] lua_checkstack + - [x] lua_concat + - [x] lua_copy + - [x] lua_createtable + - [x] lua_error - [x] lua_getfield - [x] lua_getglobal - [x] lua_getmetatable - - [x] lua_setmetatable + - [x] lua_gettable + - [x] lua_gettop + - [x] lua_insert + - [x] lua_isstring + - [x] lua_istable + - [x] lua_isyieldable + - [x] lua_load + - [x] lua_newstate + - [x] lua_newtable + - [x] lua_newthread + - [x] lua_next + - [x] lua_pcall + - [x] lua_pop + - [x] lua_pushboolean - [x] lua_pushglobaltable + - [x] lua_pushinteger + - [x] lua_pushjsclosure (lua_pushcclosure) + - [x] lua_pushjsfunction (lua_pushcfunction) - [x] lua_pushliteral + - [x] lua_pushlstring + - [x] lua_pushnil + - [x] lua_pushnumber + - [x] lua_pushstring + - [x] lua_pushvalue + - [x] lua_rawequal - [x] lua_rawget - [x] lua_rawgeti + - [x] lua_rawlen - [x] lua_rawset - - [x] lua_setfield - - [x] lua_settop - - [x] lua_tostring - - [x] lua_rawequal - - [x] lua_error - - [x] lua_concat - - [x] lua_isstring - - [x] lua_istable - [x] lua_remove + - [x] lua_resume - [x] lua_rotate - - [x] lua_insert + - [x] lua_setfield + - [x] lua_setglobal + - [x] lua_setmetatable + - [x] lua_settable + - [x] lua_settop + - [x] lua_status - [x] lua_stringtonumber - - [x] lua_rawlen - - [x] lua_next - - [x] lua_copy + - [x] lua_toboolean + - [x] lua_tointeger + - [x] lua_tointegerx + - [x] lua_tolstring + - [x] lua_tonumber + - [x] lua_tonumberx + - [x] lua_topointer + - [x] lua_tostring + - [x] lua_tothread + - [x] lua_type + - [x] lua_typename + - [x] lua_upvalueindex + - [x] lua_version + - [x] lua_xmove + - [x] lua_yield + - [x] lua_yieldk - [ ] lua_arith - [ ] lua_close - [ ] lua_compare @@ -107,9 +115,7 @@ - [ ] lua_isnumber - [ ] lua_isthread - [ ] lua_isuserdata - - [ ] lua_isyieldable - [ ] lua_len - - [ ] lua_newthread - [ ] lua_newuserdata - [ ] lua_numbertointeger - [ ] lua_pcallk @@ -122,44 +128,39 @@ - [ ] lua_rawsetp - [ ] lua_register - [ ] lua_replace - - [ ] lua_resume - [ ] lua_setallocf - [ ] lua_sethook - [ ] lua_seti - [ ] lua_setlocal - [ ] lua_setupvalue - [ ] lua_setuservalue - - [ ] lua_status - [ ] lua_tocfunction - - [ ] lua_tothread - [ ] lua_touserdata - [ ] lua_upvalueid - [ ] lua_upvaluejoin - - [ ] lua_xmove - - [ ] lua_yield - - [ ] lua_yieldk - [ ] Auxiliary library - - [x] luaL_newstate - - [x] luaL_typename + - [x] luaL_argcheck + - [x] luaL_argerror + - [x] luaL_callmeta - [x] luaL_checkany + - [x] luaL_checkinteger + - [x] luaL_checklstring + - [x] luaL_checkstack - [x] luaL_checktype - - [x] luaL_callmeta + - [x] luaL_error - [x] luaL_getmetafield - - [x] luaL_setfuncs - - [x] luaL_checkstack - - [x] luaL_tolstring - - [x] luaL_openlibs - [x] luaL_getsubtable - - [x] luaL_requiref - - [x] luaL_checkinteger - - [x] luaL_checklstring + - [x] luaL_newlib + - [x] luaL_newstate + - [x] luaL_openlibs - [x] luaL_opt - [x] luaL_optinteger - [x] luaL_optlstring + - [x] luaL_requiref + - [x] luaL_setfuncs + - [x] luaL_tolstring + - [x] luaL_typename - [x] luaL_where - - [x] luaL_argerror - - [x] luaL_argcheck - - [x] luaL_error - [ ] luaL_addchar - [ ] luaL_addlstring - [ ] luaL_addsize @@ -184,7 +185,6 @@ - [ ] luaL_loadfile - [ ] luaL_loadfilex - [ ] luaL_loadstring - - [ ] luaL_newlib - [ ] luaL_newlibtable - [ ] luaL_newmetatable - [ ] luaL_optnumber @@ -200,29 +200,36 @@ - [ ] luaL_unref - [ ] Standard library - [ ] Base lib - - [x] tostring - - [x] print - - [x] getmetatable - - [x] setmetatable - - [x] rawequal - - [x] rawset - - [x] rawget - - [x] type - - [x] error - - [x] pcall - - [x] xpcall + - [x] assert - [x] collectgarbage (unavailable) + - [x] error + - [x] getmetatable - [x] ipairs + - [x] next - [x] pairs + - [x] pcall + - [x] print + - [x] rawequal + - [x] rawget + - [x] rawlen + - [x] rawset - [x] select + - [x] setmetatable - [x] tonumber - - [x] assert - - [x] rawlen - - [x] next + - [x] tostring + - [x] type + - [x] xpcall - [ ] dofile - [ ] loadfile - [ ] load - - [ ] ... + - [ ] Coroutine + - [x] coroutine.create + - [x] coroutine.resume + - [x] coroutine.yield + - [ ] coroutine.isyieldable + - [ ] coroutine.running + - [ ] coroutine.status + - [ ] coroutine.wrap - [ ] Debug (errors) - [ ] DOM API binding - [ ] Parse Lua -- cgit v1.2.3-54-g00ecf