Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
lua5.1.js/TODO
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
38 lines (31 sloc)
1.33 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TODO: | |
| ===== | |
| Pull requests are welcome! | |
| -- Test if lua_error is working as expected | |
| -- Support these Lua C API items: | |
| -- lua_pushvfstring (varargs) | |
| -- lua_pushfstring (varargs) | |
| -- Whole lua_Debug API | |
| -- luaI_openlib (lua_Reg) | |
| -- luaL_openlib (lua_Reg) | |
| -- luaL_register (lua_Reg) | |
| -- luaL_error (varargs) | |
| -- luaL_checkoption (array of pointers) | |
| -- Whole luaL_Buffer API | |
| -- Functions that take output pointers as parameters probably | |
| require wrappers to work at all. Check that and fix as needed. | |
| -- Wrap API functions, that work with pointers, to handle JS-types | |
| (for example, register JS functions automatically). | |
| Support the raw data too, though, to keep things as flexible as possible. | |
| -- Document the API | |
| -- Split lua_c_api to three files, one per header. Load on demand. | |
| -- Port <script type="text/lua"> from lua.vm.js (easy). | |
| -- Port `js` object in Lua from lua.vm.js (probably needs a rewrite). | |
| -- Write a proper Makefile. | |
| -- Write a test suite (probably should use lua-TestMore for language compliance | |
| verification, and write new tests for C API). | |
| -- Provide detailed and tested build instructions. | |
| -- Bind emscripten.h | |
| -- Write code to pass JS and Lua objects and basic data types back and forth. | |
| -- Document squish workflow, provide an example. | |
| -- Document how to work with Lua C modules, provide an example. |