Roberto Ierusalimschy
|
93bcb65a9b
|
debug interface uses method' to describe calls like a:foo()'
|
2002-04-04 14:21:31 -03:00 |
|
Roberto Ierusalimschy
|
49c95648a0
|
getmetatable doesn't push nil when there is no metatable
|
2002-04-02 17:43:18 -03:00 |
|
Roberto Ierusalimschy
|
13ab5a6bb1
|
details
|
2002-04-02 17:43:08 -03:00 |
|
Roberto Ierusalimschy
|
cd99bbcd0d
|
better support for new libraries
|
2002-04-02 17:42:49 -03:00 |
|
Roberto Ierusalimschy
|
2cbbf7e95a
|
tostring' uses __tostring' when available
|
2002-04-02 17:42:20 -03:00 |
|
Roberto Ierusalimschy
|
e5919be1a7
|
bug: end of block may not be end of stat
|
2002-04-02 17:34:15 -03:00 |
|
Roberto Ierusalimschy
|
b795d4b561
|
details
|
2002-04-01 11:42:33 -03:00 |
|
Roberto Ierusalimschy
|
c371413530
|
small bug if LUA_USERINIT leaves garbage on the stack
|
2002-03-27 15:00:13 -03:00 |
|
Roberto Ierusalimschy
|
d1f220217b
|
when possible, library functions accept nil as none
|
2002-03-27 12:30:41 -03:00 |
|
Roberto Ierusalimschy
|
405e3a4597
|
metatable always return some value
|
2002-03-27 09:49:53 -03:00 |
|
Roberto Ierusalimschy
|
81215cd59f
|
simpler way to control stack overflow
|
2002-03-26 17:46:10 -03:00 |
|
Roberto Ierusalimschy
|
0b9b53e21c
|
details
|
2002-03-26 15:55:50 -03:00 |
|
Roberto Ierusalimschy
|
44a5484d73
|
small bug (L->ci->top may be larger than L->top...)
|
2002-03-25 16:45:06 -03:00 |
|
Roberto Ierusalimschy
|
801aaf37b1
|
simpler implementation for line information
|
2002-03-25 14:47:14 -03:00 |
|
Roberto Ierusalimschy
|
00af2faae7
|
first implementation of proper tail call
|
2002-03-22 13:54:31 -03:00 |
|
Roberto Ierusalimschy
|
e9ef7ed2d3
|
first implementation for tail call
|
2002-03-21 17:32:22 -03:00 |
|
Roberto Ierusalimschy
|
2626708b72
|
details
|
2002-03-21 17:31:43 -03:00 |
|
Roberto Ierusalimschy
|
19ac0fadc9
|
don't need to mark the stacks twice ;-)
|
2002-03-20 15:54:29 -03:00 |
|
Roberto Ierusalimschy
|
ca2ceef659
|
simpler solution for finalizing udata
|
2002-03-20 15:37:28 -03:00 |
|
Roberto Ierusalimschy
|
5023aaee0a
|
reserve one more bit for GC
|
2002-03-20 15:37:13 -03:00 |
|
Roberto Ierusalimschy
|
88c9bf99de
|
standard libraries in packages
|
2002-03-20 09:54:08 -03:00 |
|
Roberto Ierusalimschy
|
63a614e145
|
some improvements in stack control
|
2002-03-20 09:52:32 -03:00 |
|
Roberto Ierusalimschy
|
48e732e07d
|
improvements in stack control
|
2002-03-20 09:51:29 -03:00 |
|
Roberto Ierusalimschy
|
938092489b
|
erroneous objects may not live in the stack
|
2002-03-19 09:45:25 -03:00 |
|
Roberto Ierusalimschy
|
578d1da00d
|
new names for tag methods
|
2002-03-18 17:24:14 -03:00 |
|
Roberto Ierusalimschy
|
24d6d0528d
|
api.c only needs to check pushes when api_check is defined
|
2002-03-18 17:11:52 -03:00 |
|
Roberto Ierusalimschy
|
0b00e7f1a2
|
new macro to convert double->int
|
2002-03-18 15:18:35 -03:00 |
|
Roberto Ierusalimschy
|
b7ed502dea
|
configurable macros should live in llimits.h
|
2002-03-18 15:16:16 -03:00 |
|
Roberto Ierusalimschy
|
58badbab99
|
special treatment for 'global in nil'
|
2002-03-18 11:49:46 -03:00 |
|
Roberto Ierusalimschy
|
da81845cd5
|
an error may call GC and find an incomplete `ci'
|
2002-03-15 14:17:16 -03:00 |
|
Roberto Ierusalimschy
|
9681ff09db
|
small optimization when returning a single local value
|
2002-03-14 15:32:37 -03:00 |
|
Roberto Ierusalimschy
|
7ff21273d6
|
implementation of `global' statement
|
2002-03-14 15:01:52 -03:00 |
|
Roberto Ierusalimschy
|
207dad8606
|
comments
|
2002-03-14 13:50:06 -03:00 |
|
Roberto Ierusalimschy
|
c97dc294a9
|
first implementation of `gfind'
|
2002-03-11 10:29:40 -03:00 |
|
Roberto Ierusalimschy
|
71c716e5a8
|
avoid C identifiers beginning with '_'
|
2002-03-11 09:45:00 -03:00 |
|
Roberto Ierusalimschy
|
51ad2f1162
|
error message
|
2002-03-08 16:25:24 -03:00 |
|
Roberto Ierusalimschy
|
ecda9c1972
|
details
|
2002-03-08 16:17:59 -03:00 |
|
Roberto Ierusalimschy
|
e19eba7219
|
cannot store `top' in local variables...
|
2002-03-08 16:11:03 -03:00 |
|
Roberto Ierusalimschy
|
bd8b9c94b3
|
generic for (with any number of control variables)
|
2002-03-08 16:10:32 -03:00 |
|
Roberto Ierusalimschy
|
4db04555f0
|
implementation of long comments
|
2002-03-08 16:07:01 -03:00 |
|
Roberto Ierusalimschy
|
c16a35d669
|
lua_stackspace' replaced by lua_checkstack'
|
2002-03-07 15:15:10 -03:00 |
|
Roberto Ierusalimschy
|
8f837e83b2
|
using `ci->top' to control acceptable indices in C calls
|
2002-03-07 15:14:29 -03:00 |
|
Roberto Ierusalimschy
|
6658b9588f
|
details
|
2002-03-07 15:11:51 -03:00 |
|
Roberto Ierusalimschy
|
457d88eaaa
|
configurable minimum size for the string table
|
2002-03-05 13:22:54 -03:00 |
|
Roberto Ierusalimschy
|
8a1a512c64
|
lu_byte is enough for those fields (maxstack < 256)
|
2002-03-05 09:42:47 -03:00 |
|
Roberto Ierusalimschy
|
6b0c38c2e7
|
`inline' of tonumber
|
2002-03-04 18:33:09 -03:00 |
|
Roberto Ierusalimschy
|
1a3f175640
|
small optimization
|
2002-03-04 18:32:34 -03:00 |
|
Roberto Ierusalimschy
|
88c7b574cb
|
`luaA_index' is a local macro now
|
2002-03-04 18:29:41 -03:00 |
|
Roberto Ierusalimschy
|
51bf91a970
|
detail
|
2002-03-04 12:40:04 -03:00 |
|
Roberto Ierusalimschy
|
1b6315ba10
|
not all unfinished strings with "..." end in EOF
|
2002-03-04 12:27:14 -03:00 |
|
Roberto Ierusalimschy
|
3b001d9a9d
|
more tests for boolean API
|
2002-03-04 12:26:56 -03:00 |
|
Roberto Ierusalimschy
|
c36b5cc726
|
detail
|
2002-02-15 13:15:10 -02:00 |
|
Roberto Ierusalimschy
|
2c1eb62a08
|
get error messages from luaL_errstr
|
2002-02-14 20:23:43 -02:00 |
|
Roberto Ierusalimschy
|
63e2d92123
|
no more -DOLD_ANSI option + details
|
2002-02-14 19:49:33 -02:00 |
|
Roberto Ierusalimschy
|
e966dd93be
|
towards next version...
|
2002-02-14 19:48:32 -02:00 |
|
Roberto Ierusalimschy
|
2f8e3c5543
|
prints any results returned by chunk
|
2002-02-14 19:47:50 -02:00 |
|
Roberto Ierusalimschy
|
b0a5e156b8
|
no more maximum stack size
|
2002-02-14 19:47:29 -02:00 |
|
Roberto Ierusalimschy
|
ac178ee478
|
new constructor syntax + new generic `for'
|
2002-02-14 19:46:58 -02:00 |
|
Roberto Ierusalimschy
|
1e602a61b3
|
new generic `for'
|
2002-02-14 19:46:43 -02:00 |
|
Roberto Ierusalimschy
|
57fb51f975
|
luaH_next' works like next'
|
2002-02-14 19:46:13 -02:00 |
|
Roberto Ierusalimschy
|
1c423d2661
|
LFIELDS_PER_FLUSH is an opcode detail
|
2002-02-14 19:43:01 -02:00 |
|
Roberto Ierusalimschy
|
b3ffaca638
|
details
|
2002-02-14 19:41:53 -02:00 |
|
Roberto Ierusalimschy
|
bee86e23be
|
luaH_next' works like next' + better hash for pointers
|
2002-02-14 19:41:08 -02:00 |
|
Roberto Ierusalimschy
|
0056ed4135
|
better(?) order for types (nil == 0)
|
2002-02-14 19:40:29 -02:00 |
|
Roberto Ierusalimschy
|
e01f5e6809
|
better order of record fields for 64-bit machines
|
2002-02-08 20:42:41 -02:00 |
|
Roberto Ierusalimschy
|
cbfc581990
|
details.
|
2002-02-08 20:41:50 -02:00 |
|
Roberto Ierusalimschy
|
d3651c1d88
|
`getstr' now gives const char *
|
2002-02-08 20:41:09 -02:00 |
|
Roberto Ierusalimschy
|
57a7baafb9
|
error message compatible with incomplete lines of lua.c
|
2002-02-08 20:40:27 -02:00 |
|
Roberto Ierusalimschy
|
252e01e398
|
`setlocale' may be used to query the current locale
|
2002-02-08 20:39:56 -02:00 |
|
Roberto Ierusalimschy
|
87b0e3d477
|
no more `lua_istrue' function
|
2002-02-08 20:39:36 -02:00 |
|
Roberto Ierusalimschy
|
cb50fcf42d
|
incomplete lines (by lhf)
|
2002-02-07 15:27:12 -02:00 |
|
Roberto Ierusalimschy
|
c6a108e012
|
test for lua_pushbool
|
2002-02-07 15:26:33 -02:00 |
|
Roberto Ierusalimschy
|
d5ceb369b1
|
boolean type must be 0 or 1
|
2002-02-07 15:26:10 -02:00 |
|
Roberto Ierusalimschy
|
86a4de256e
|
no more lua_[gs]etstr
|
2002-02-07 15:25:36 -02:00 |
|
Roberto Ierusalimschy
|
53aaee6ee6
|
comments
|
2002-02-07 15:25:12 -02:00 |
|
Roberto Ierusalimschy
|
67bda7e136
|
details.
|
2002-02-07 15:24:05 -02:00 |
|
Roberto Ierusalimschy
|
7c8f1823e7
|
bug: true 1 != true 2 + no more lua_getstr + some new macros
|
2002-02-07 15:22:53 -02:00 |
|
Roberto Ierusalimschy
|
ca181f31e4
|
line number in listcode (and tests for replace)
|
2002-02-05 20:40:05 -02:00 |
|
Roberto Ierusalimschy
|
38b0e6128d
|
simpler implementation for `for' loops
|
2002-02-05 20:39:12 -02:00 |
|
Roberto Ierusalimschy
|
addbe8c8b0
|
protected execution of `resume'
|
2002-02-05 20:38:37 -02:00 |
|
Roberto Ierusalimschy
|
6bb5cb1cbd
|
comments
|
2002-02-05 20:37:26 -02:00 |
|
Roberto Ierusalimschy
|
d070506a25
|
new function luaL_errstr
|
2002-02-05 20:36:52 -02:00 |
|
Roberto Ierusalimschy
|
0a87d9d334
|
new function `lua_replace'
|
2002-02-05 20:35:58 -02:00 |
|
Roberto Ierusalimschy
|
f856fdeabd
|
details
|
2002-01-30 15:28:05 -02:00 |
|
Roberto Ierusalimschy
|
653977a0ac
|
callhook can be static
|
2002-01-30 15:27:53 -02:00 |
|
Roberto Ierusalimschy
|
d6fd33e76f
|
eventtable' renamed to metatable'
|
2002-01-30 15:26:44 -02:00 |
|
Roberto Ierusalimschy
|
50e2952593
|
first version of dynamic stack
|
2002-01-25 20:14:54 -02:00 |
|
Roberto Ierusalimschy
|
b217ae644e
|
details
|
2002-01-25 20:14:09 -02:00 |
|
Roberto Ierusalimschy
|
a048cc9676
|
nil is a `valid' eventtable
|
2002-01-25 19:55:41 -02:00 |
|
Roberto Ierusalimschy
|
eb262bc617
|
2^15 does not fit in a 16-bit int
|
2002-01-25 19:51:33 -02:00 |
|
Roberto Ierusalimschy
|
74907fb71e
|
OP_LOADINT can be done by OP_LOADK
|
2002-01-25 19:50:39 -02:00 |
|
Roberto Ierusalimschy
|
b38e594ed7
|
small improvements
|
2002-01-18 15:39:40 -02:00 |
|
Roberto Ierusalimschy
|
448517e47e
|
no more linehook field in CallInfo
|
2002-01-18 15:39:06 -02:00 |
|
Roberto Ierusalimschy
|
931ee346e3
|
legacy declaration
|
2002-01-18 15:38:13 -02:00 |
|
Roberto Ierusalimschy
|
dea98702c9
|
preparations for stack reallocation
|
2002-01-16 20:04:50 -02:00 |
|
Roberto Ierusalimschy
|
7ab7703b53
|
cleaner semantics for test instructions (skips)
|
2002-01-16 20:03:57 -02:00 |
|
Roberto Ierusalimschy
|
566310fa04
|
small optimization
|
2002-01-16 20:02:46 -02:00 |
|
Roberto Ierusalimschy
|
6272c843de
|
yield' passes its arguments to resume'
|
2002-01-11 18:27:41 -02:00 |
|
Roberto Ierusalimschy
|
5d14ce612b
|
details
|
2002-01-11 18:27:11 -02:00 |
|
Roberto Ierusalimschy
|
d56d4cf776
|
distinct functions to create/destroy states and threads
|
2002-01-11 18:26:52 -02:00 |
|