Roberto Ierusalimschy
|
b22baf386d
Lua cannot have static variables.
|
26 years ago |
Roberto Ierusalimschy
|
8fdd06ba3c
lots of new stuff from 3.2
|
26 years ago |
Roberto Ierusalimschy
|
028ec00ab9
details
|
26 years ago |
Roberto Ierusalimschy
|
1dcf1c9cbd
format "%s" may break limit of "sprintf" on some machines.
|
26 years ago |
Roberto Ierusalimschy
|
76179a1014
compile option EXTRALIB for builtin functions that can be written in Lua.
|
26 years ago |
Roberto Ierusalimschy
|
bdfab46c22
"errorim" now is _ERRORMESSAGE.
|
26 years ago |
Roberto Ierusalimschy
|
5687949560
"lua_debug", "lua_callhook" and "lua_linehook" must be inside "lua_state".
|
26 years ago |
Roberto Ierusalimschy
|
19de5b2205
new dependencies
|
26 years ago |
Roberto Ierusalimschy
|
cbc58af260
new opcode for "long" arguments (3 bytes)
|
26 years ago |
Roberto Ierusalimschy
|
80001ab0eb
getlocal cannot return the local itself, since lua_isstring and
|
26 years ago |
Roberto Ierusalimschy
|
ae29ab9858
only parser uses MAX_WORD
|
26 years ago |
Roberto Ierusalimschy
|
27407fc1f5
new syntax: assignment expressions + better order for opcodes
|
27 years ago |
Roberto Ierusalimschy
|
1a17da2ff9
opcodes with builtin parameters are too complicated for very little extra
|
27 years ago |
Roberto Ierusalimschy
|
50248e440a
"if" expression leaves only one of its expressions on the stack
|
27 years ago |
Roberto Ierusalimschy
|
0f0079f394
"if" expressions.
|
27 years ago |
Roberto Ierusalimschy
|
68267ed878
negative numerals do not need a MINUSOPeration; go directly to contant
|
27 years ago |
Roberto Ierusalimschy
|
fd25d4ad85
no need to define functions for macros...
|
27 years ago |
Roberto Ierusalimschy
|
2431534f10
details
|
27 years ago |
Roberto Ierusalimschy
|
fd7d0774e5
luaH_set does the set and protect its value; luaH_move can then be a
|
27 years ago |
Roberto Ierusalimschy
|
57ffc3f009
luaH_set does the set, and protects its value, so luaH_move can be a
|
27 years ago |
Roberto Ierusalimschy
|
4a13f513f8
luaH_set does the set!
|
27 years ago |
Roberto Ierusalimschy
|
13ad46b67d
uses the same double hashing that is used for tables
|
27 years ago |
Roberto Ierusalimschy
|
1b45e967b4
table entries with ref=null always have val=null too.
|
27 years ago |
Roberto Ierusalimschy
|
933bead92e
small optimizations(?)
|
27 years ago |
Roberto Ierusalimschy
|
3314f49ec4
C cannot initialize a struct.
|
27 years ago |
Roberto Ierusalimschy
|
bc930aa5ff
"free" usually handles NULL; handle non ANSI case separately.
|
27 years ago |
Roberto Ierusalimschy
|
67b44c9493
local names are all in the constant pool, so they do not need to be
|
27 years ago |
Roberto Ierusalimschy
|
758a381644
"realloc" usually implements "malloc"; handle non ANSI case separately.
|
27 years ago |
Roberto Ierusalimschy
|
eec31aaca5
<string.h> is needed because of "memcpy".
|
27 years ago |
Roberto Ierusalimschy
|
595738f6fe
small optimizations
|
27 years ago |