diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-03-12 04:08:40 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2007-03-12 04:08:40 +0000 |
commit | be2e467929be9f27fbe92fe7b94783635c920c06 (patch) | |
tree | 94054e38f33178d805a6144d3bd9cb76da4a4c76 /WISH | |
parent | 8bf9fb51dd09fb066483247fccbfc979acc84071 (diff) | |
download | luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.gz luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.tar.bz2 luasocket-be2e467929be9f27fbe92fe7b94783635c920c06.zip |
Couple bug fixes.
Diffstat (limited to 'WISH')
-rw-r--r-- | WISH | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -1,5 +1,22 @@ | |||
1 | ... as an l-value | 1 | ... as an l-value to get all results of a function call? |
2 | tupples? | 2 | at least ...[i] and #... |
3 | extend to full tuples? | ||
4 | |||
5 | __and __or __not metamethods | ||
6 | |||
7 | lua_tostring, lua_tonumber, lua_touseradta etc push values in stack | ||
8 | __tostring,__tonumber, __touserdata metamethods are checked | ||
9 | and expected to push an object of correct type on stack | ||
10 | |||
11 | lua_rawtostring, lua_rawtonumber, lua_rawtouserdata don't | ||
12 | push anything on stack, return data of appropriate type, | ||
13 | skip metamethods and throw error if object not of exact type | ||
14 | |||
3 | package.findfile exported | 15 | package.findfile exported |
4 | assert returns all arguments on success | 16 | module not polluting the global namespace |
5 | module does not pollute the global namespace | 17 | |
18 | coxpcall with a coroutine pool for efficiency (reusing coroutines) | ||
19 | |||
20 | exception mechanism formalized? just like the package system was. | ||
21 | |||
22 | a nice bitlib in the core | ||