Roberto Ierusalimschy
|
b53dc0c485
|
TAG_ARRAY -> TAG_TABLE
|
2000-03-27 17:10:21 -03:00 |
|
Roberto Ierusalimschy
|
bb9605bbc9
|
tags can be positive values
|
2000-03-20 16:14:54 -03:00 |
|
Roberto Ierusalimschy
|
73aa465a8e
|
some name changes
|
2000-03-10 15:37:44 -03:00 |
|
Roberto Ierusalimschy
|
3c9d999424
|
many details (most by lhf).
|
2000-03-03 11:58:26 -03:00 |
|
Roberto Ierusalimschy
|
5cecf0ea9f
|
it is better to control stack space where it is needed.
|
2000-02-22 15:54:16 -02:00 |
|
Roberto Ierusalimschy
|
74f1c3d025
|
small changes for "clean C"
|
2000-02-08 14:39:42 -02:00 |
|
Roberto Ierusalimschy
|
99e340b2ba
|
keep `top' in registers when running basic tasks (settable, getglobal, ...)
|
2000-01-24 18:14:07 -02:00 |
|
Roberto Ierusalimschy
|
2877bad4c2
|
new debug API (first version)
|
2000-01-19 10:00:45 -02:00 |
|
Roberto Ierusalimschy
|
46ec57cbc6
|
little change when calling tag methods
|
2000-01-13 13:56:03 -02:00 |
|
Roberto Ierusalimschy
|
5cafe5af02
|
tag method must be a function
|
1999-12-30 16:27:03 -02:00 |
|
Roberto Ierusalimschy
|
acdb0b741e
|
comments.
|
1999-12-27 15:33:22 -02:00 |
|
Roberto Ierusalimschy
|
b1b0c219f5
|
new ttypes to distinguish between C closures and Lua closures.
|
1999-12-23 16:19:57 -02:00 |
|
Roberto Ierusalimschy
|
1b15206cf9
|
many details + code redistribution
|
1999-12-14 16:33:29 -02:00 |
|
Roberto Ierusalimschy
|
617be66015
|
better control (and error recovery) for begin/end blocks
|
1999-12-06 10:03:45 -02:00 |
|
Roberto Ierusalimschy
|
8223ff473f
|
lua_Object is a pointer to the stack (because now the stack doen't move)
|
1999-12-02 14:24:45 -02:00 |
|
Roberto Ierusalimschy
|
fe237ad808
|
fixed stack; first version.
|
1999-12-01 17:50:08 -02:00 |
|
Roberto Ierusalimschy
|
764e095d7f
|
object' and string' are very busy names...
|
1999-11-29 17:31:29 -02:00 |
|
Roberto Ierusalimschy
|
49af08e3e7
|
new name for lua_equal(obj); LUA_NOOBJECT is equal to LUA_NOOBJECT
|
1999-11-29 17:11:36 -02:00 |
|
Roberto Ierusalimschy
|
e5743adb21
|
macros key', val', and `node' don't need the state
|
1999-11-23 11:58:02 -02:00 |
|
Roberto Ierusalimschy
|
29ede6aa13
|
first implementation of multiple states (reentrant code).
|
1999-11-22 11:12:07 -02:00 |
|
Roberto Ierusalimschy
|
573372665a
|
new API function `lua_equalobj'
|
1999-11-11 15:02:40 -02:00 |
|
Roberto Ierusalimschy
|
cde179b369
|
new implementation for global variable values (separated from strings)
|
1999-11-04 15:23:12 -02:00 |
|
Roberto Ierusalimschy
|
4e9f2d13d5
|
new implementation of hash tables.
|
1999-10-14 17:13:31 -02:00 |
|
Roberto Ierusalimschy
|
c5fee7615e
|
new implementation for string hashing, with chaining.
|
1999-10-11 14:13:42 -02:00 |
|
Roberto Ierusalimschy
|
63ccf42397
|
new API function 'lua_type'.
|
1999-10-07 17:04:30 -02:00 |
|
Roberto Ierusalimschy
|
4343420d4d
|
simplified version of `gc' tag method (only for userdata now).
|
1999-10-04 15:51:04 -02:00 |
|
Roberto Ierusalimschy
|
17374d2daa
|
`put_luaObjectonTop' must be public (to be used by lfback.c), and so
it must have a "public" name: `luaA_putObjectOnTop'
|
1999-09-21 13:10:13 -03:00 |
|
Roberto Ierusalimschy
|
04265655a8
|
compatibility with old fallback system now provided by external module
|
1999-09-20 11:57:29 -03:00 |
|
Roberto Ierusalimschy
|
c787dccd9b
|
"const" !!!
|
1999-08-16 17:52:00 -03:00 |
|
Roberto Ierusalimschy
|
521b38532a
|
better interfaces for luaD_calln (x luaD_call)
|
1999-06-22 17:37:23 -03:00 |
|
Roberto Ierusalimschy
|
36b6fe8d17
|
better treatment for arbitrary limits
|
1999-06-17 14:04:03 -03:00 |
|
Roberto Ierusalimschy
|
34695d4f4a
|
details (message text)
|
1999-05-14 09:24:20 -03:00 |
|
Roberto Ierusalimschy
|
705eae9fe4
|
there is no need for a size for Cblocks
|
1999-05-11 17:08:20 -03:00 |
|
Roberto Ierusalimschy
|
6eb1399a1c
|
array Cblocks should grow dynamically
|
1999-05-11 11:19:32 -03:00 |
|
Roberto Ierusalimschy
|
a775a2d81a
|
check first whether function is global.
|
1999-03-26 10:14:00 -03:00 |
|
Roberto Ierusalimschy
|
5a8bb00df4
|
storing chunk "sources" instead of "filenames".
|
1999-03-04 18:23:39 -03:00 |
|
Roberto Ierusalimschy
|
da18ec5d54
|
warnings...
|
1999-03-01 14:49:04 -03:00 |
|
Roberto Ierusalimschy
|
6a853fcb8b
|
details (from lhf)
|
1999-02-25 18:07:26 -03:00 |
|
Roberto Ierusalimschy
|
f04c83e075
|
new function "lua_next" (+ new implementation for "next")
|
1999-02-23 11:57:28 -03:00 |
|
Roberto Ierusalimschy
|
d5feffdb60
|
new function lua_nextvar
|
1999-02-22 16:13:12 -03:00 |
|
Roberto Ierusalimschy
|
bf6d2ccf92
|
details
|
1999-02-12 17:23:02 -02:00 |
|
Roberto Ierusalimschy
|
fb1cf6ab2d
|
clearer way to set tables.
|
1999-02-08 15:07:59 -02:00 |
|
Roberto Ierusalimschy
|
5687949560
|
"lua_debug", "lua_callhook" and "lua_linehook" must be inside "lua_state".
|
1999-02-04 15:47:59 -02:00 |
|
Roberto Ierusalimschy
|
80001ab0eb
|
getlocal cannot return the local itself, since lua_isstring and
lua_isnumber can modify it.
|
1999-02-03 14:42:42 -02:00 |
|
Roberto Ierusalimschy
|
fd25d4ad85
|
no need to define functions for macros...
|
1999-01-26 13:38:01 -02:00 |
|
Roberto Ierusalimschy
|
54840fb256
|
new functions to manipulate C global variables
|
1999-01-15 11:11:22 -02:00 |
|
Roberto Ierusalimschy
|
59f8e6fb77
|
details ("settable")
|
1998-12-30 15:26:49 -02:00 |
|
Roberto Ierusalimschy
|
5ca2709ba0
|
small warnings
|
1998-12-03 13:45:15 -02:00 |
|
Roberto Ierusalimschy
|
b1450721be
|
new function "lua_nups" (number of upvalues).
|
1998-09-07 15:59:59 -03:00 |
|
Roberto Ierusalimschy
|
cc117253c8
|
new implementation for error handling: on error, function _ERRORMESSAGE
is called, which in turn calls _ALERT to write a message to stderr.
|
1998-08-21 14:43:44 -03:00 |
|
Roberto Ierusalimschy
|
1d8edd347d
|
small changes to use new auxiliar functions
|
1998-07-12 13:16:02 -03:00 |
|
Roberto Ierusalimschy
|
02134b4a87
|
name: lua_pushCclosure -> lua_pushcclosure.
|
1998-06-05 19:17:44 -03:00 |
|
Roberto Ierusalimschy
|
0969a971cd
|
better use of "ASSERT".
|
1998-03-09 18:49:52 -03:00 |
|
Roberto Ierusalimschy
|
043c2ac258
|
new names for "lua_pushlstr" and "lua_getstrlen"
|
1998-03-06 15:47:42 -03:00 |
|
Roberto Ierusalimschy
|
88a2023c32
|
support for strings with '\0'
|
1998-03-06 13:54:42 -03:00 |
|
Roberto Ierusalimschy
|
f380d627f8
|
usefull macros also available as functions
|
1998-02-12 17:23:32 -02:00 |
|
Roberto Ierusalimschy
|
b3b7cf7335
|
BUG: "lua_getstring" may create a new string, so should check GC
|
1998-01-27 17:13:45 -02:00 |
|
Roberto Ierusalimschy
|
0e1058cfdd
|
small optimizations in switch order
|
1998-01-09 12:44:55 -02:00 |
|
Roberto Ierusalimschy
|
26679b1a48
|
back to upavalues as extra arguments for C closures; this way it's
trivial to make currying.
|
1998-01-07 14:26:48 -02:00 |
|
Roberto Ierusalimschy
|
964c503a63
|
LUA_COMPAT2.5 may use #ifdef instead of #if
|
1998-01-02 15:46:32 -02:00 |
|
Roberto Ierusalimschy
|
fae0b52825
|
small bugs in error report
|
1997-12-22 15:52:20 -02:00 |
|
Roberto Ierusalimschy
|
de79e7fc58
|
back to "lua_upvalue"... (seems better choice)
|
1997-12-18 16:32:39 -02:00 |
|
Roberto Ierusalimschy
|
94144a7821
|
otimization: closures without upvalues don't need to be closures
|
1997-12-15 14:17:20 -02:00 |
|
Roberto Ierusalimschy
|
034f16892e
|
better treatment of MARKs and DEBUG cases.
|
1997-12-11 12:48:46 -02:00 |
|
Roberto Ierusalimschy
|
80b3d28f4a
|
details (mainly error messages)
|
1997-12-09 11:50:08 -02:00 |
|
Roberto Ierusalimschy
|
03160920cf
|
store "functofind" in stack top, so doesn't need this field in
global state.
|
1997-11-28 14:56:05 -02:00 |
|
Roberto Ierusalimschy
|
5482992dec
|
other access method for C upvalues (as arguments)
|
1997-11-27 16:25:14 -02:00 |
|
Roberto Ierusalimschy
|
ef37c87e93
|
no more 'globalbag'
|
1997-11-27 13:59:25 -02:00 |
|
Roberto Ierusalimschy
|
9ae0c082a3
|
small details by lint.
|
1997-11-26 16:53:45 -02:00 |
|
Roberto Ierusalimschy
|
accd7bc253
|
small modifications (format, small optimizations, etc)
|
1997-11-21 17:00:46 -02:00 |
|
Roberto Ierusalimschy
|
6153200bc2
|
make sure there is no mem problems, using %.ns instead of %s for luaV_error.
|
1997-11-19 16:16:33 -02:00 |
|
Roberto Ierusalimschy
|
592a3f289b
|
first implementation of centralized global state.
|
1997-11-19 15:29:23 -02:00 |
|
Roberto Ierusalimschy
|
45cad43c3f
|
"lua_open": now lua has an explicit open operation.
|
1997-11-04 13:27:53 -02:00 |
|
Roberto Ierusalimschy
|
e78cf96c97
|
first version of Cclosures.
|
1997-10-24 15:17:24 -02:00 |
|
Roberto Ierusalimschy
|
a580480b07
|
new implementation for globals: Global value is stored in TaggedString
|
1997-09-26 12:02:26 -03:00 |
|
Roberto Ierusalimschy
|
ea169d2083
|
auxiliar functions from Lua API
|
1997-09-16 16:25:59 -03:00 |
|