Roberto Ierusalimschy
|
0df2238063
name "_ENV" configurable through 'luaconf.h'
|
15 жил өмнө |
Roberto Ierusalimschy
|
8d9ea59d28
'pushclosure' -> 'codeclosure' (as there is another 'pushclosure' in
|
15 жил өмнө |
Roberto Ierusalimschy
|
81dd13f4c6
new way to distinguish between indexing tables in registers and
|
15 жил өмнө |
Roberto Ierusalimschy
|
6a02bbe1e2
better organization for fields in struct 'expdesc'
|
15 жил өмнө |
Roberto Ierusalimschy
|
ca3865cf1b
'getlocal' gets information about parameters of Lua functions
|
15 жил өмнө |
Roberto Ierusalimschy
|
bd619b9311
new macro MAXUPVAL (maximum number of upvalues per closure)
|
15 жил өмнө |
Roberto Ierusalimschy
|
12c764ed1e
semicolons now represent the empty statement
|
15 жил өмнө |
Roberto Ierusalimschy
|
058279d548
comments
|
15 жил өмнө |
Roberto Ierusalimschy
|
0d00729e31
detail (breaking a long line)
|
15 жил өмнө |
Roberto Ierusalimschy
|
c066ac10a9
better line numbers for function calls and unary/binary operators +
|
15 жил өмнө |
Roberto Ierusalimschy
|
6abde1b05a
no need to keep "_ENV" name in global state (can be kept in lex state)
|
15 жил өмнө |
Roberto Ierusalimschy
|
d394d5536a
new macro 'eqstr'
|
15 жил өмнө |
Roberto Ierusalimschy
|
22ef84b6c8
'_ENV' name permanently stored in global state for easier access
|
15 жил өмнө |
Roberto Ierusalimschy
|
25c557ec63
first version of _ENV; no more global variables
|
15 жил өмнө |
Roberto Ierusalimschy
|
1124cb1247
first step towards _ENV: all chunks have an puvalues _ENV with the
|
15 жил өмнө |
Roberto Ierusalimschy
|
e560ac4862
when searching for a variable name, look existing upvalues before
|
15 жил өмнө |
Roberto Ierusalimschy
|
0fe2576a39
new instructions to optimize indexing on upvalues
|
15 жил өмнө |
Roberto Ierusalimschy
|
389c890ed3
again changing macro to function to save a few bytes
|
15 жил өмнө |
Roberto Ierusalimschy
|
e3866afa97
macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').
|
15 жил өмнө |
Roberto Ierusalimschy
|
3c4d970a7b
comment typos
|
15 жил өмнө |
Roberto Ierusalimschy
|
35fa276099
parser/scanner keep GC running
|
15 жил өмнө |
Roberto Ierusalimschy
|
1448e736f0
better documentation for constructor syntax
|
16 жил өмнө |
Roberto Ierusalimschy
|
6e415e9387
local function definition does not need to correct debug information
|
16 жил өмнө |
Roberto Ierusalimschy
|
916587508c
parser keeps list of active local variables in a single dynamic array,
|
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
|
f8e354e240
detail (space between function name and its parameter list)
|
16 жил өмнө |
Roberto Ierusalimschy
|
4e1ffc482a
test for 'fs' being NULL at the end of 'close_func' is useless ('fs'
|
16 жил өмнө |
Roberto Ierusalimschy
|
d7872dcf91
small optimization (reorder of BinOpr enum to unify some cases
|
16 жил өмнө |
Roberto Ierusalimschy
|
2598138ece
new function 'luaK_codek' (detail)
|
16 жил өмнө |