Roberto Ierusalimschy
|
77077b39d5
comment explaining OP_VARARG was wrong (and corresponding code was not
|
пре 16 година |
Roberto Ierusalimschy
|
0ac3d07ea6
first implementation of lexical environments
|
пре 16 година |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
пре 16 година |
Roberto Ierusalimschy
|
fcc46467fa
limit of constants per function changed to 2^26 using extra arguments
|
пре 16 година |
Roberto Ierusalimschy
|
3135a6bbab
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
|
пре 16 година |
Roberto Ierusalimschy
|
11d7ba79f2
tail calls do not need to move whole new frame down, only its slice
|
пре 16 година |
Roberto Ierusalimschy
|
afb3f7e754
bug: 'luaV_settable' may invalidate a reference to a table and try
|
пре 16 година |
Roberto Ierusalimschy
|
2bdd194f43
exports luaV_arith to be used by lua_arith + uses 'luaO_arith' to
|
пре 16 година |
Roberto Ierusalimschy
|
77fd93188e
'lessequal' renamed 'luaV_lessequal' and exported to be used by
|
пре 16 година |
Roberto Ierusalimschy
|
2258ec6bc9
'getline' renamed to 'getfuncline' (to avoid problems with POSIX)
|
пре 16 година |
Roberto Ierusalimschy
|
9423e22aa3
no more L->base + ci->base only for Lua functions (C functions may use
|
пре 16 година |
Roberto Ierusalimschy
|
57f8414de1
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
пре 16 година |
Roberto Ierusalimschy
|
eea6d10866
details (use ci->base instead of L->base when possible)
|
пре 16 година |
Roberto Ierusalimschy
|
d7bc346d7a
no more code checking
|
пре 16 година |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
пре 16 година |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
пре 16 година |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
пре 16 година |
Roberto Ierusalimschy
|
1817dfc301
initial separation, in CallInfo, of what is relevant only to Lua
|
пре 16 година |
Roberto Ierusalimschy
|
facfcd497f
detail
|
пре 16 година |
Roberto Ierusalimschy
|
2b590aea40
no more '__len' metamethod for strings
|
пре 16 година |
Roberto Ierusalimschy
|
b472098493
concat TM can yield
|
пре 16 година |
Roberto Ierusalimschy
|
84b3daebbd
generic for coded as two dedicated instructions to simplify resumption
|
пре 17 година |
Roberto Ierusalimschy
|
f6978173e0
yields accross metamethods and for iterators (except for __concat)
|
пре 17 година |
Roberto Ierusalimschy
|
4376c9bc5f
more specific test to avoid calling luaF_close when function returns
|
пре 17 година |
Roberto Ierusalimschy
|
f94cd2201c
better control of call status through CallInfo
|
пре 17 година |
Roberto Ierusalimschy
|
fdbb243ff9
first steps towards yielding through longjump
|
пре 17 година |
Roberto Ierusalimschy
|
a4d3080fe3
SETLIST extra argument now is an "instruction" (OP_EXTRAARG)
|
пре 17 година |
Roberto Ierusalimschy
|
fe0838cd1c
tables and strings respect __len metamethod
|
пре 18 година |
Roberto Ierusalimschy
|
6c042e17b1
avoid boolean equality (tricky for some compilers)
|
пре 18 година |
Roberto Ierusalimschy
|
1a455acc81
two small bugs: some metamethods do not accept callable non-function
|
пре 18 година |