Roberto Ierusalimschy
|
59744f0311
"storeglobal" changed to "setglobal"
|
28 years ago |
Roberto Ierusalimschy
|
bb2e2bec18
new lua function "tag"
|
28 years ago |
Roberto Ierusalimschy
|
efaaf99c42
first version of "setglobal" and "getglobal" internal methods.
|
28 years ago |
Roberto Ierusalimschy
|
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
|
28 years ago |
Roberto Ierusalimschy
|
88d7ffb0d0
luaI_type moved to fallback.c
|
28 years ago |
Roberto Ierusalimschy
|
1444d28476
first full implementation of internal methods
|
28 years ago |
Roberto Ierusalimschy
|
eea734aa88
new module 'auxlib' centralizes functions to get/check parameters.
|
28 years ago |
Roberto Ierusalimschy
|
b6d91e24e2
"tag" changed to "ttype" (since now tag has other meaning)
|
28 years ago |
Roberto Ierusalimschy
|
131d66efd2
first step in implementing internal methods.
|
28 years ago |
Roberto Ierusalimschy
|
2a506ea9d2
lua_linenumber is initialized in lex.c
|
29 years ago |
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
|
5b9fbfa006
"dostring" now stores the prefix of its string, to improve error messages.
|
29 years ago |
Roberto Ierusalimschy
|
f0cc2d5506
BUG: a program ending in a comment without EOL made lex loops forever.
|
29 years ago |
Roberto Ierusalimschy
|
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
a275d9a25b
functions "lua_is..." consider coercions.
|
29 years ago |
Roberto Ierusalimschy
|
7e0be1fbde
unused "#include"
|
29 years ago |
Roberto Ierusalimschy
|
e701a86385
"openfile" now returns the file
|
29 years ago |
Roberto Ierusalimschy
|
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
|
29 years ago |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 years ago |
Roberto Ierusalimschy
|
0f4903a5d7
new header "lex.h".
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
56fb06b6f5
"lua_debug" now is exported through debug interface (luadebug.h)
|
29 years ago |
Roberto Ierusalimschy
|
19290a8e92
"dofile" issues an error when called with non string arguments, and
|
30 years ago |
Roberto Ierusalimschy
|
d845963349
"setglobal" and "getglobal" moved to inout.c, as it concentrates pre-defined
|
30 years ago |
Roberto Ierusalimschy
|
a19f9056f3
new function "tostring".
|
30 years ago |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 years ago |
Roberto Ierusalimschy
|
fa71304e54
"dofile" now accepts NULL as parameter, to run stdin.
|
30 years ago |
Roberto Ierusalimschy
|
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
|
30 years ago |