-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathTODO
38 lines (31 loc) · 1.33 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.