summaryrefslogtreecommitdiff
path: root/lvm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-3/+3
|
* new scheme for debug info about tail calls: no more 'fake' stack entries,Roberto Ierusalimschy2009-11-251-4/+4
| | | | but stack entry knows whether it was tail called
* comment explaining OP_VARARG was wrong (and corresponding code was notRoberto Ierusalimschy2009-10-281-3/+3
| | | | very clear)
* first implementation of lexical environmentsRoberto Ierusalimschy2009-09-301-1/+9
|
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-281-16/+12
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* limit of constants per function changed to 2^26 using extra argumentsRoberto Ierusalimschy2009-09-231-7/+15
| | | | to opcodes LOADK, GETGLOBAL, and SETGLOBAL
* luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,Roberto Ierusalimschy2009-08-071-2/+2
| | | | not generic numbers)
* tail calls do not need to move whole new frame down, only its sliceRoberto Ierusalimschy2009-07-151-8/+12
| | | | up to last parameter (the rest has not been used yet)
* bug: 'luaV_settable' may invalidate a reference to a table and tryRoberto Ierusalimschy2009-07-011-3/+6
| | | | to reuse it.
* exports luaV_arith to be used by lua_arith + uses 'luaO_arith' toRoberto Ierusalimschy2009-06-171-16/+7
| | | | perform basic arith. operations
* 'lessequal' renamed 'luaV_lessequal' and exported to be used byRoberto Ierusalimschy2009-06-171-3/+3
| | | | 'lua_compare'
* 'getline' renamed to 'getfuncline' (to avoid problems with POSIX)Roberto Ierusalimschy2009-06-101-3/+3
|
* no more L->base + ci->base only for Lua functions (C functions may useRoberto Ierusalimschy2009-06-011-17/+18
| | | | 'func')
* small bug in 'luaV_concat' (L->top was left incorrect in some cases)Roberto Ierusalimschy2009-05-271-21/+22
|
* details (use ci->base instead of L->base when possible)Roberto Ierusalimschy2009-05-221-6/+6
|
* no more code checkingRoberto Ierusalimschy2009-04-301-2/+1
|
* several small improvements based on 'ci' being fixed now (includingRoberto Ierusalimschy2009-04-171-76/+79
| | | | erasing savedpc from lua_State)
* 'CallInfo' stack implemented as double-linked list instead of an arrayRoberto Ierusalimschy2009-04-171-7/+7
|
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-101-11/+61
|
* initial separation, in CallInfo, of what is relevant only to LuaRoberto Ierusalimschy2009-03-041-2/+2
| | | | functions or only to C functions
* detailRoberto Ierusalimschy2009-03-021-2/+2
|
* no more '__len' metamethod for stringsRoberto Ierusalimschy2009-02-161-3/+1
|
* concat TM can yieldRoberto Ierusalimschy2008-11-061-1/+3
|
* generic for coded as two dedicated instructions to simplify resumptionRoberto Ierusalimschy2008-10-301-11/+15
|
* yields accross metamethods and for iterators (except for __concat)Roberto Ierusalimschy2008-10-281-30/+25
|
* more specific test to avoid calling luaF_close when function returnsRoberto Ierusalimschy2008-09-091-3/+3
|
* better control of call status through CallInfoRoberto Ierusalimschy2008-08-261-9/+12
|
* first steps towards yielding through longjumpRoberto Ierusalimschy2008-08-131-41/+30
|
* SETLIST extra argument now is an "instruction" (OP_EXTRAARG)Roberto Ierusalimschy2008-04-021-2/+9
|
* tables and strings respect __len metamethodRoberto Ierusalimschy2007-09-101-18/+29
|
* avoid boolean equality (tricky for some compilers)Roberto Ierusalimschy2007-06-191-3/+3
|
* two small bugs: some metamethods do not accept callable non-functionRoberto Ierusalimschy2007-03-261-7/+6
| | | | objects + __concat converts numbers to strings before calling metamethod
* better documentation for auxiliary functions (that should be called onlyRoberto Ierusalimschy2007-02-091-2/+2
| | | | through specific macros).
* small optimization for ""..xRoberto Ierusalimschy2006-09-191-3/+7
|
* avoid local "pc" in interpreter loop (tricky optimization with no real gain)Roberto Ierusalimschy2006-09-191-46/+38
|
* avoid trailing white spacesRoberto Ierusalimschy2006-09-111-3/+3
|
* macros luai_num* take a state L (when available) as argument, to allowRoberto Ierusalimschy2006-08-071-16/+16
| | | | them to generate errors (and other facilities)
* detailsRoberto Ierusalimschy2006-07-141-6/+6
|
* emergency garbage collector (core forces a GC when allocation fails)Roberto Ierusalimschy2006-07-111-11/+12
|
* extra assertionRoberto Ierusalimschy2006-06-051-1/+2
|
* detailsRoberto Ierusalimschy2006-01-231-3/+5
|
* detailsRoberto Ierusalimschy2006-01-101-2/+2
|
* small changes in castsRoberto Ierusalimschy2005-12-221-6/+6
|
* detailsRoberto Ierusalimschy2005-11-011-50/+20
|
* no more L in numer-operator macros (some functions that use those macrosRoberto Ierusalimschy2005-10-241-21/+21
| | | | have no access to L)
* details (more uniform coding)Roberto Ierusalimschy2005-10-131-11/+10
|
* include of math.h depends on luaconfRoberto Ierusalimschy2005-10-031-2/+1
|
* detail (macro evaluates twice its arguments)Roberto Ierusalimschy2005-09-091-2/+4
|
* new method to handle tests without values (negative values)Roberto Ierusalimschy2005-08-291-1/+7
|
* some bugs related to stack reallocationRoberto Ierusalimschy2005-08-241-5/+11
|