Roberto Ierusalimschy
|
f5bc671030
"goto" for tail recursion changed to "while"
|
27 years ago |
Roberto Ierusalimschy
|
03d38b66fd
new sort algorithm.
|
27 years ago |
Roberto Ierusalimschy
|
fe5c41fb8a
new functions "tinsert" and "tremove"
|
27 years ago |
Roberto Ierusalimschy
|
9a45543841
tables are better manipulated via "Hash *" instead of "TObject" or
|
27 years ago |
Roberto Ierusalimschy
|
766e67ef3b
to avoid warnings about "typecast" (Visual C++)
|
27 years ago |
Roberto Ierusalimschy
|
96a7695275
reorder and rename of most functions, for better documentation.
|
27 years ago |
Roberto Ierusalimschy
|
0c9080c7a9
"tonumber" goes crazy with negative numbers in other bases (not 10),
|
27 years ago |
Roberto Ierusalimschy
|
b8fcb7b151
details
|
27 years ago |
Roberto Ierusalimschy
|
5d6de9075d
"print" uses fputs instead of printf (easier to reimplement).
|
27 years ago |
Roberto Ierusalimschy
|
5ca2709ba0
small warnings
|
27 years ago |
Roberto Ierusalimschy
|
8e3bd752bb
small optimization in "sort" + new functions "getn" and "foreachi"
|
27 years ago |
Roberto Ierusalimschy
|
cc117253c8
new implementation for error handling: on error, function _ERRORMESSAGE
|
27 years ago |
Roberto Ierusalimschy
|
afb5ef72e1
new function "sort" + many small changes
|
27 years ago |
Roberto Ierusalimschy
|
e869d17eb1
functions should return explicit "nil"s.
|
27 years ago |
Roberto Ierusalimschy
|
df0df08bc5
"dostring" accepts chunk name.
|
27 years ago |
Roberto Ierusalimschy
|
9618aaf07d
small corrections in comments
|
27 years ago |
Roberto Ierusalimschy
|
02134b4a87
name: lua_pushCclosure -> lua_pushcclosure.
|
27 years ago |
Roberto Ierusalimschy
|
243a808067
'print' now calls 'tostring'
|
27 years ago |
Roberto Ierusalimschy
|
0969a971cd
better use of "ASSERT".
|
27 years ago |
Roberto Ierusalimschy
|
88a2023c32
support for strings with '\0'
|
27 years ago |
Roberto Ierusalimschy
|
5ef1989c4b
"settag" returns its first argument.
|
27 years ago |
Roberto Ierusalimschy
|
f380d627f8
usefull macros also available as functions
|
27 years ago |
Roberto Ierusalimschy
|
d49e4dd752
MAX_WORD should not be bigger than MAX_INT
|
28 years ago |
Roberto Ierusalimschy
|
26679b1a48
back to upavalues as extra arguments for C closures; this way it's
|
28 years ago |
Roberto Ierusalimschy
|
964c503a63
LUA_COMPAT2.5 may use #ifdef instead of #if
|
28 years ago |
Roberto Ierusalimschy
|
a5fd7d722c
opctional "base" in "tonumber" convertion.
|
28 years ago |
Roberto Ierusalimschy
|
de79e7fc58
back to "lua_upvalue"... (seems better choice)
|
28 years ago |
Roberto Ierusalimschy
|
502343b402
new scheme for buffers, centralized in auxlib.
|
28 years ago |
Roberto Ierusalimschy
|
45e533599f
optimization: closures without upvalues don't need to be closures
|
28 years ago |
Roberto Ierusalimschy
|
4daae2165d
new API function and built-in "lua_copytagmethods"
|
28 years ago |