[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: I've fixed some error in luadec51
- From: VirusCamp <viruscamp@...>
- Date: Fri, 27 Nov 2009 13:26:36 +0800
HI,everyone:
I've fixed some error in luadec51. May someone test it?
Here is the Changlog:
1. fix the bug when is_vararg==7
varg7.lua
2. OP_SETUPVAL should use UPVALUE(b) instead of UPVALUE(bc)
3. OP_VARARG should be R(A), R(A+1), ..., R(A+B-1) = vararg
4. dirty hack to skip {...}
varg.lua
5. dirty hack to skip error caused by some numeric FOR loops
for.lua
6. NEWTABLE, SETLIST can properly process {...} and lists that use 2
or more SETLIST (n>50)
setlist.lua , setlist2.lua
7. SETLIST, {[123]=1,"123"=2} can be properly processed
table_constructor.lua
8. SETLIST, reformat the output
table_formated.lua
9. VARARG, RETURN, CALL, TAILCALL, SETLIST can properly use ... or
return values as args
varg_call.lua
10. FOR nested IF can be processed
for_if.lua , if_for.lua
11. fix some memory leaks
Compiling
The source code of luadec51 does not contain any project files or
Makefiles. It also depends on the lua 5.1 source codes, which are not
included as well (so you might use any lua 5.1 version).
To compile, grab the lua 5.1 source codes, and compile luadec51 source
files with them. Alternatively you might modify lua's Makefile to add
luadec files to its compilation list
Attachment:
luadec51-1126.tar.bz2
Description: BZip2 compressed data