Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | old error messages may be misleading | Roberto Ierusalimschy | 2011-12-02 | 1 | -4/+4 |
| | |||||
* | more uses of 'l_noret' | Roberto Ierusalimschy | 2011-11-30 | 1 | -7/+5 |
| | |||||
* | detail (avoid applying macro 'getstr' with a function-call argument) | Roberto Ierusalimschy | 2011-10-31 | 1 | -2/+3 |
| | |||||
* | silly bug in 5.2 beta: assignment conflict code did not test to check | Roberto Ierusalimschy | 2011-10-24 | 1 | -17/+20 |
| | | | | whether variable was a table element | ||||
* | lint (unreachable code) | Roberto Ierusalimschy | 2011-09-30 | 1 | -2/+2 |
| | |||||
* | small bug in if-goto optimization: block must be closed ('leaveblock') | Roberto Ierusalimschy | 2011-09-14 | 1 | -5/+8 |
| | | | | *before* the jump out ('escapelist') | ||||
* | optimization for |if cond then goto| | Roberto Ierusalimschy | 2011-08-30 | 1 | -18/+37 |
| | |||||
* | cleaner code for 'if' construct | Roberto Ierusalimschy | 2011-08-25 | 1 | -20/+14 |
| | |||||
* | 'nCcalls' should be local to each thread, as each thread may have its | Roberto Ierusalimschy | 2011-08-23 | 1 | -6/+6 |
| | | | | own C stack (with LuaThreads or something similar) | ||||
* | reducing even more use of C stack by the parser: struct 'FuncState' | Roberto Ierusalimschy | 2011-07-27 | 1 | -12/+12 |
| | | | | | does not need field 'L' + number of labels/gotos in a chunk may be limited to SHRT_MAX. (Also removed some non-needed 'unsigned's.) | ||||
* | detail (cleaned whitespaces at end of lines) | Roberto Ierusalimschy | 2011-07-15 | 1 | -3/+3 |
| | |||||
* | small simplifications (and assert was wrongly written) | Roberto Ierusalimschy | 2011-07-02 | 1 | -4/+2 |
| | |||||
* | back to "one-label-per-block" | Roberto Ierusalimschy | 2011-06-27 | 1 | -20/+13 |
| | |||||
* | label syntax changed to '::label::' | Roberto Ierusalimschy | 2011-06-20 | 1 | -6/+6 |
| | |||||
* | label names must be unique inside a function | Roberto Ierusalimschy | 2011-06-16 | 1 | -12/+27 |
| | |||||
* | comment | Roberto Ierusalimschy | 2011-05-02 | 1 | -2/+2 |
| | |||||
* | local function name only visible to debug info after being initialized | Roberto Ierusalimschy | 2011-04-18 | 1 | -1/+6 |
| | |||||
* | no need of lookahead in Zio | Roberto Ierusalimschy | 2011-02-23 | 1 | -3/+3 |
| | |||||
* | error for repeated label + jumps allowed to labels followed by | Roberto Ierusalimschy | 2011-02-14 | 1 | -24/+34 |
| | | | | 'no-op' statements | ||||
* | 'break' does not need to be last statement in a block + | Roberto Ierusalimschy | 2011-02-14 | 1 | -81/+84 |
| | | | | 'explist1' -> 'explist' + moving a few functions around | ||||
* | 'break' coded as 'goto' + small bug when closing multiple gotos | Roberto Ierusalimschy | 2011-02-10 | 1 | -59/+52 |
| | | | | to the same label | ||||
* | simpler code for repeat-until | Roberto Ierusalimschy | 2011-02-09 | 1 | -11/+5 |
| | |||||
* | corrected 'follow' for checking whether label is last statement | Roberto Ierusalimschy | 2011-02-09 | 1 | -14/+21 |
| | | | | in a block | ||||
* | small changes in goto-related error messages | Roberto Ierusalimschy | 2011-02-09 | 1 | -8/+15 |
| | |||||
* | ensures that all local variables are declared inside some block, | Roberto Ierusalimschy | 2011-02-07 | 1 | -45/+39 |
| | | | | opening a new block at 'open_func' | ||||
* | some reorganization of dynamic data structures used by the parser | Roberto Ierusalimschy | 2011-02-07 | 1 | -64/+65 |
| | |||||
* | no more 'OP_CLOSE' instructions (use jumps to close upvalues) | Roberto Ierusalimschy | 2011-02-07 | 1 | -3/+7 |
| | |||||
* | first implementation of 'goto' | Roberto Ierusalimschy | 2011-02-04 | 1 | -14/+174 |
| | |||||
* | new scheme to close upvalues in 'break'; jump instructions may | Roberto Ierusalimschy | 2011-02-01 | 1 | -4/+4 |
| | | | | do the close, avoiding the need for a OP_CLOSE instruction | ||||
* | detail (cleaning trailing spaces) | Roberto Ierusalimschy | 2011-01-26 | 1 | -2/+2 |
| | |||||
* | new closures are always created on "next" register (so that GC knows | Roberto Ierusalimschy | 2010-12-17 | 1 | -9/+6 |
| | | | | stack limit) | ||||
* | comment | Roberto Ierusalimschy | 2010-12-15 | 1 | -2/+2 |
| | |||||
* | name "_ENV" configurable through 'luaconf.h' | Roberto Ierusalimschy | 2010-09-07 | 1 | -4/+4 |
| | |||||
* | 'pushclosure' -> 'codeclosure' (as there is another 'pushclosure' in | Roberto Ierusalimschy | 2010-08-23 | 1 | -8/+13 |
| | | | | 'lvm.c) + small detail | ||||
* | new way to distinguish between indexing tables in registers and | Roberto Ierusalimschy | 2010-07-07 | 1 | -20/+16 |
| | | | | | tables in upvalues (+ fixed small bug when checking conflicts in multiple assignments) | ||||
* | better organization for fields in struct 'expdesc' | Roberto Ierusalimschy | 2010-07-02 | 1 | -14/+14 |
| | |||||
* | 'getlocal' gets information about parameters of Lua functions | Roberto Ierusalimschy | 2010-06-21 | 1 | -2/+2 |
| | |||||
* | new macro MAXUPVAL (maximum number of upvalues per closure) | Roberto Ierusalimschy | 2010-05-31 | 1 | -3/+3 |
| | |||||
* | semicolons now represent the empty statement | Roberto Ierusalimschy | 2010-05-15 | 1 | -3/+5 |
| | |||||
* | comments | Roberto Ierusalimschy | 2010-05-14 | 1 | -6/+6 |
| | |||||
* | detail (breaking a long line) | Roberto Ierusalimschy | 2010-05-13 | 1 | -4/+5 |
| | |||||
* | better line numbers for function calls and unary/binary operators + | Roberto Ierusalimschy | 2010-04-17 | 1 | -9/+12 |
| | | | | null statement + no more "ambiguous syntax" restriction | ||||
* | no need to keep "_ENV" name in global state (can be kept in lex state) | Roberto Ierusalimschy | 2010-04-05 | 1 | -5/+5 |
| | |||||
* | new macro 'eqstr' | Roberto Ierusalimschy | 2010-04-05 | 1 | -3/+3 |
| | |||||
* | '_ENV' name permanently stored in global state for easier access | Roberto Ierusalimschy | 2010-03-13 | 1 | -6/+3 |
| | |||||
* | first version of _ENV; no more global variables | Roberto Ierusalimschy | 2010-03-12 | 1 | -37/+10 |
| | |||||
* | first step towards _ENV: all chunks have an puvalues _ENV with the | Roberto Ierusalimschy | 2010-03-08 | 1 | -11/+24 |
| | | | | global table | ||||
* | when searching for a variable name, look existing upvalues before | Roberto Ierusalimschy | 2010-03-04 | 1 | -20/+32 |
| | | | | goingg to upper levels | ||||
* | new instructions to optimize indexing on upvalues | Roberto Ierusalimschy | 2010-02-26 | 1 | -9/+14 |
| | |||||
* | again changing macro to function to save a few bytes | Roberto Ierusalimschy | 2010-01-06 | 1 | -5/+9 |
| |