Roberto Ierusalimschy
|
19a1e19ae1
detail: better way to put a "..." in message.
|
28 years ago |
Roberto Ierusalimschy
|
3a9516ffc8
luaL check functions do not need the function name (it can be
|
28 years ago |
Roberto Ierusalimschy
|
42fa305649
better error messages;
|
28 years ago |
Roberto Ierusalimschy
|
075b7918c3
new function "getintmethod"
|
28 years ago |
Roberto Ierusalimschy
|
7c99149a76
"tostring" gives an overview of a userdata.
|
28 years ago |
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
|
29 years ago |