Roberto Ierusalimschy
|
e5ec547eb3
"call" returns separate results, instead of a table.
|
29 years ago |
Roberto Ierusalimschy
|
6d383202dc
"dofile" and "dostring" may return values.
|
29 years ago |
Roberto Ierusalimschy
|
82f9f3e552
better structure to control stack interface lua-C.
|
29 years ago |
Roberto Ierusalimschy
|
d289ac81d3
functions may have tags CMARK and MARK, too.
|
29 years ago |
Roberto Ierusalimschy
|
d763b69740
skip first line of a lua file if it starts with a '#' (to allow shell
|
29 years ago |
Roberto Ierusalimschy
|
7a38bdd4b3
"exit" is defined in "stdlib".
|
29 years ago |
Roberto Ierusalimschy
|
3211a9648a
"lua_dofile" returns different error codes if it could not open the file
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
bced00ab9e
lua_Reference is int, so say so.
|
29 years ago |
Roberto Ierusalimschy
|
0ef5cf2289
lock mechanism seperseded by the REFERENCE mechanism.
|
29 years ago |
Roberto Ierusalimschy
|
ce23901f04
smaller limit to stack size (otherwise C stack can finish first)
|
29 years ago |
Roberto Ierusalimschy
|
7a35f23c16
a simplification about memory error messages.
|
29 years ago |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
9704ff4cb1
hook variables are global, no more "lua_set...hook" functions.
|
29 years ago |
Roberto Ierusalimschy
|
85b76bcc01
functions "lua_is..." consider coercions.
|
29 years ago |
Roberto Ierusalimschy
|
7e0be1fbde
unused "#include"
|
29 years ago |
Roberto Ierusalimschy
|
3e1f731826
integration with undump (execution of pre-compiled chuncks)
|
29 years ago |
Roberto Ierusalimschy
|
6f30fa98d8
small change to avoid error on "lua_pushstring(NULL)".
|
29 years ago |
Roberto Ierusalimschy
|
8c1a9899d4
functions "luaI_free" and "luaI_realloc" (or macro "growvector") may be
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
826d70fcba
new type lua_Function for activation records
|
29 years ago |
Roberto Ierusalimschy
|
5a3a1fe458
debug interface functions to manipulated local variables:
|
29 years ago |
Roberto Ierusalimschy
|
43382ce5a2
new fallback "getglobal".
|
29 years ago |
Roberto Ierusalimschy
|
445872a6e2
"dofile" does not issue a warning when unable to open the file,
|
29 years ago |
Roberto Ierusalimschy
|
b2afc410fa
hooks for line change and function calls; first version.
|
30 years ago |
Roberto Ierusalimschy
|
415ee250b5
bug: luaI_findconstantbyname may change the value of lua_constant.
|
30 years ago |
Roberto Ierusalimschy
|
f188e1000b
useless "#include math.h"
|
30 years ago |
Roberto Ierusalimschy
|
87fe07c0d4
little improvement
|
30 years ago |
Roberto Ierusalimschy
|
15d48576ea
functions now may be declared with any "var" as a name;
|
30 years ago |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 years ago |