Roberto Ierusalimschy
|
7dfa4cd655
first implementation of light C functions
|
15 éve |
Roberto Ierusalimschy
|
d394d5536a
new macro 'eqstr'
|
15 éve |
Roberto Ierusalimschy
|
a08fc34ee4
avoid using 'luaS_new' when can use 'luaS_newlstr'
|
15 éve |
Roberto Ierusalimschy
|
9eb832de54
work related to hooks moved from 'luaV_execute' to 'traceexec'
|
15 éve |
Roberto Ierusalimschy
|
064e406f67
no more fenvs!
|
15 éve |
Roberto Ierusalimschy
|
25c557ec63
first version of _ENV; no more global variables
|
15 éve |
Roberto Ierusalimschy
|
347f0c33d1
avoid 'continue' unless necessary
|
15 éve |
Roberto Ierusalimschy
|
0fe2576a39
new instructions to optimize indexing on upvalues
|
15 éve |
Roberto Ierusalimschy
|
36ab1ee10c
__unm metamethod gets nil as its 2nd parameter
|
15 éve |
Roberto Ierusalimschy
|
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 éve |
Roberto Ierusalimschy
|
b0f2b288a6
new scheme for debug info about tail calls: no more 'fake' stack entries,
|
15 éve |
Roberto Ierusalimschy
|
77077b39d5
comment explaining OP_VARARG was wrong (and corresponding code was not
|
16 éve |
Roberto Ierusalimschy
|
0ac3d07ea6
first implementation of lexical environments
|
16 éve |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
16 éve |
Roberto Ierusalimschy
|
fcc46467fa
limit of constants per function changed to 2^26 using extra arguments
|
16 éve |
Roberto Ierusalimschy
|
3135a6bbab
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
|
16 éve |
Roberto Ierusalimschy
|
11d7ba79f2
tail calls do not need to move whole new frame down, only its slice
|
16 éve |
Roberto Ierusalimschy
|
afb3f7e754
bug: 'luaV_settable' may invalidate a reference to a table and try
|
16 éve |
Roberto Ierusalimschy
|
2bdd194f43
exports luaV_arith to be used by lua_arith + uses 'luaO_arith' to
|
16 éve |
Roberto Ierusalimschy
|
77fd93188e
'lessequal' renamed 'luaV_lessequal' and exported to be used by
|
16 éve |
Roberto Ierusalimschy
|
2258ec6bc9
'getline' renamed to 'getfuncline' (to avoid problems with POSIX)
|
16 éve |
Roberto Ierusalimschy
|
9423e22aa3
no more L->base + ci->base only for Lua functions (C functions may use
|
16 éve |
Roberto Ierusalimschy
|
57f8414de1
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
16 éve |
Roberto Ierusalimschy
|
eea6d10866
details (use ci->base instead of L->base when possible)
|
16 éve |
Roberto Ierusalimschy
|
d7bc346d7a
no more code checking
|
16 éve |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
16 éve |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
16 éve |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 éve |
Roberto Ierusalimschy
|
1817dfc301
initial separation, in CallInfo, of what is relevant only to Lua
|
16 éve |
Roberto Ierusalimschy
|
facfcd497f
detail
|
16 éve |