| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Towards "to closed" local variables | Roberto Ierusalimschy | 2018-10-08 | 1 | -4/+30 |
| | | | | | | | | | | | | | Start of the implementation of "scoped variables" or "to be closed" variables, local variables whose '__close' (or themselves) are called when they go out of scope. This commit implements the syntax, the opcode, and the creation of the corresponding upvalue, but it still does not call the finalizations when the variable goes out of scope (the most important part). Currently, the syntax is 'local scoped name = exp', but that will probably change. | ||||
| * | Details (comments) | Roberto Ierusalimschy | 2018-09-11 | 1 | -2/+2 |
| | | |||||
| * | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
| * | in generational mode, an emergency collection can turn any object black | Roberto Ierusalimschy | 2018-06-18 | 1 | -2/+2 |
| | | | | | during any memory allocation. | ||||
| * | no more nil-in-table | Roberto Ierusalimschy | 2018-04-04 | 1 | -15/+1 |
| | | |||||
| * | new experimental syntax using reserved word 'undef' | Roberto Ierusalimschy | 2018-03-07 | 1 | -11/+18 |
| | | |||||
| * | correct way to check stack space for vararg functions | Roberto Ierusalimschy | 2018-02-17 | 1 | -3/+1 |
| | | |||||
| * | vararg back to '...' (but with another implementation) | Roberto Ierusalimschy | 2018-02-09 | 1 | -16/+6 |
| | | | | | new implementation should have zero overhead for non-vararg functions | ||||
| * | new opcode 'PREPVARARG' | Roberto Ierusalimschy | 2018-02-07 | 1 | -6/+16 |
| | | | | | (avoids test for vararg function in all function calls) | ||||
| * | new macros 'isOT'/'isIT' | Roberto Ierusalimschy | 2017-12-22 | 1 | -2/+2 |
| | | | | | | (plus exchanged parameters of OP_VARARG to make it similar to other 'isOT' instructions) | ||||
| * | new opcodes 'FORLOOP1'/'FORPREP1' for "basic for" (integer variable | Roberto Ierusalimschy | 2017-12-18 | 1 | -15/+36 |
| | | | | | with increment of 1) | ||||
| * | details (cleaning uses of 'exp1') | Roberto Ierusalimschy | 2017-12-18 | 1 | -8/+5 |
| | | |||||
| * | 'Proto->numparams' does not include vararg parameter | Roberto Ierusalimschy | 2017-12-15 | 1 | -5/+4 |
| | | | | | (one less subtraction when calling functions...) | ||||
| * | 'VRELOCABLE' -> 'VRELOC' | Roberto Ierusalimschy | 2017-12-14 | 1 | -3/+3 |
| | | |||||
| * | avoid using one function for different tasks (malloc, free, etc.) | Roberto Ierusalimschy | 2017-12-06 | 1 | -16/+9 |
| | | |||||
| * | small peephole optimizations | Roberto Ierusalimschy | 2017-11-30 | 1 | -2/+2 |
| | | |||||
| * | no more 'stackless' implementation; 'luaV_execute' calls itself | Roberto Ierusalimschy | 2017-11-23 | 1 | -8/+4 |
| | | | | | | recursively to execute function calls. 'unroll' continues all executions suspended by an yield (through a long jump) | ||||
| * | detail | Roberto Ierusalimschy | 2017-10-04 | 1 | -2/+3 |
| | | |||||
| * | no more 'getBMode'-'getCMode' (imprecise + we will need more space | Roberto Ierusalimschy | 2017-09-28 | 1 | -2/+2 |
| | | | | | for op mode) + better control of op modes | ||||
| * | jumps do not close upvalues (to be faster and simpler); | Roberto Ierusalimschy | 2017-09-13 | 1 | -46/+81 |
| | | | | | | | explicit instruction to close upvalues; command 'break' not handled like a 'goto' (to optimize removal of uneeded 'close' instructions) | ||||
| * | jumps in 'for' loops don't need to be signed | Roberto Ierusalimschy | 2017-08-14 | 1 | -6/+24 |
| | | |||||
| * | comment | Roberto Ierusalimschy | 2017-08-12 | 1 | -2/+2 |
| | | |||||
| * | 'OP_VARARG' has the vararg parameter as an operand | Roberto Ierusalimschy | 2017-06-29 | 1 | -2/+3 |
| | | |||||
| * | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 1 | -3/+3 |
| | | | | | (we may want to put extra info there in the future) | ||||
| * | 'lineinfo' in prototypes saved as differences instead of absolute | Roberto Ierusalimschy | 2017-06-27 | 1 | -4/+9 |
| | | | | | | | values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.) | ||||
| * | back to old-style vararg system (with vararg table collecting extra | Roberto Ierusalimschy | 2017-05-13 | 1 | -1/+10 |
| | | | | | arguments) | ||||
| * | bug: cannot "skip" labels after if-goto before the jump over the | Roberto Ierusalimschy | 2017-04-29 | 1 | -2/+2 |
| | | | | | 'then' part | ||||
| * | new opcodes for table access with constant keys (strings and integers) | Roberto Ierusalimschy | 2017-04-28 | 1 | -16/+24 |
| | | |||||
| * | new opcode LOADI (for loading immediate integers) | Roberto Ierusalimschy | 2017-04-20 | 1 | -2/+2 |
| | | |||||
| * | do not eliminate varargs from functions that do not use varargs | Roberto Ierusalimschy | 2016-08-01 | 1 | -4/+3 |
| | | | | | (confuses the debug lib and gains very little in performance) | ||||
| * | bug: expression list with four or more expressions in | Roberto Ierusalimschy | 2016-06-22 | 1 | -5/+4 |
| | | | | | | a 'for' loop can crash the interpreter. ('adjust_assign' must remove extra expresssions from its registers.) | ||||
| * | 'singlevaraux' returns result only in 'var->k' | Roberto Ierusalimschy | 2016-05-13 | 1 | -10/+10 |
| | | |||||
| * | bug: label between local definitions can mix-up their initializations | Roberto Ierusalimschy | 2016-03-07 | 1 | -2/+2 |
| | | |||||
| * | 'getcode' -> 'getinstruction' | Roberto Ierusalimschy | 2016-01-05 | 1 | -4/+4 |
| | | |||||
| * | detail (moving bodies of 'while' to a separate line) | Roberto Ierusalimschy | 2015-12-09 | 1 | -5/+9 |
| | | |||||
| * | macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used | Roberto Ierusalimschy | 2015-11-02 | 1 | -3/+3 |
| | | | | | in critical time pathes, can save a few bytes without the macro) | ||||
| * | function prepares vararg only if it really uses them (chunks | Roberto Ierusalimschy | 2015-10-28 | 1 | -3/+4 |
| | | | | | are always declared vararg but seldom uses them) | ||||
| * | details | Roberto Ierusalimschy | 2014-12-27 | 1 | -4/+4 |
| | | |||||
| * | removed unneeded barrier ('from' must be white) | Roberto Ierusalimschy | 2014-11-27 | 1 | -2/+2 |
| | | |||||
| * | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | | any other header file | ||||
| * | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -31/+31 |
| | | |||||
| * | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -7/+7 |
| | | |||||
| * | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-21 | 1 | -4/+4 |
| | | | | | (no need to convert to 'GCObject') | ||||
| * | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+4 |
| | | | | | (union used only for size purposes) | ||||
| * | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+4 |
| | | | | | problems detected by this check) | ||||
| * | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 1 | -5/+5 |
| | | |||||
| * | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -7/+11 |
| | | |||||
| * | first implementation of bitwise operators '&' (band), '|' (bor), | Roberto Ierusalimschy | 2013-12-18 | 1 | -7/+11 |
| | | | | | and '~' (bxor) | ||||
| * | new order for binary operations (grouping them by type of result) | Roberto Ierusalimschy | 2013-12-16 | 1 | -9/+11 |
| | | |||||
| * | bug (GC can collect long identifier during parser) + change (using | Roberto Ierusalimschy | 2013-08-30 | 1 | -28/+17 |
| | | | | | a single constant table for all functions in a chunk) | ||||
