Roberto Ierusalimschy
|
3f5b56c48b
simpler code for repeat-until
|
14 years ago |
Roberto Ierusalimschy
|
e7192dfdbb
corrected 'follow' for checking whether label is last statement
|
14 years ago |
Roberto Ierusalimschy
|
0539f48661
small changes in goto-related error messages
|
14 years ago |
Roberto Ierusalimschy
|
fd6c1f4898
ensures that all local variables are declared inside some block,
|
14 years ago |
Roberto Ierusalimschy
|
f079749287
some reorganization of dynamic data structures used by the parser
|
14 years ago |
Roberto Ierusalimschy
|
f8d677f94c
no more 'OP_CLOSE' instructions (use jumps to close upvalues)
|
14 years ago |
Roberto Ierusalimschy
|
7cc0e63d8a
first implementation of 'goto'
|
14 years ago |
Roberto Ierusalimschy
|
dd547c55c8
new scheme to close upvalues in 'break'; jump instructions may
|
14 years ago |
Roberto Ierusalimschy
|
c4ea0c3b29
detail (cleaning trailing spaces)
|
14 years ago |
Roberto Ierusalimschy
|
7e0caa7d61
new closures are always created on "next" register (so that GC knows
|
14 years ago |
Roberto Ierusalimschy
|
4a83fe569c
comment
|
14 years ago |
Roberto Ierusalimschy
|
0df2238063
name "_ENV" configurable through 'luaconf.h'
|
15 years ago |
Roberto Ierusalimschy
|
8d9ea59d28
'pushclosure' -> 'codeclosure' (as there is another 'pushclosure' in
|
15 years ago |
Roberto Ierusalimschy
|
81dd13f4c6
new way to distinguish between indexing tables in registers and
|
15 years ago |
Roberto Ierusalimschy
|
6a02bbe1e2
better organization for fields in struct 'expdesc'
|
15 years ago |
Roberto Ierusalimschy
|
ca3865cf1b
'getlocal' gets information about parameters of Lua functions
|
15 years ago |
Roberto Ierusalimschy
|
bd619b9311
new macro MAXUPVAL (maximum number of upvalues per closure)
|
15 years ago |
Roberto Ierusalimschy
|
12c764ed1e
semicolons now represent the empty statement
|
15 years ago |
Roberto Ierusalimschy
|
058279d548
comments
|
15 years ago |
Roberto Ierusalimschy
|
0d00729e31
detail (breaking a long line)
|
15 years ago |
Roberto Ierusalimschy
|
c066ac10a9
better line numbers for function calls and unary/binary operators +
|
15 years ago |
Roberto Ierusalimschy
|
6abde1b05a
no need to keep "_ENV" name in global state (can be kept in lex state)
|
15 years ago |
Roberto Ierusalimschy
|
d394d5536a
new macro 'eqstr'
|
15 years ago |
Roberto Ierusalimschy
|
22ef84b6c8
'_ENV' name permanently stored in global state for easier access
|
15 years ago |
Roberto Ierusalimschy
|
25c557ec63
first version of _ENV; no more global variables
|
15 years ago |
Roberto Ierusalimschy
|
1124cb1247
first step towards _ENV: all chunks have an puvalues _ENV with the
|
15 years ago |
Roberto Ierusalimschy
|
e560ac4862
when searching for a variable name, look existing upvalues before
|
15 years ago |
Roberto Ierusalimschy
|
0fe2576a39
new instructions to optimize indexing on upvalues
|
15 years ago |
Roberto Ierusalimschy
|
389c890ed3
again changing macro to function to save a few bytes
|
15 years ago |
Roberto Ierusalimschy
|
e3866afa97
macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').
|
15 years ago |