Roberto Ierusalimschy
|
f79584faca
|
detail
|
2013-04-26 13:06:53 -03:00 |
Roberto Ierusalimschy
|
4abe99dc34
|
new interface for 'tonumber'
|
2013-04-26 13:03:50 -03:00 |
Roberto Ierusalimschy
|
a2f5c28a80
|
new operation '//' (integer division)
|
2013-04-26 10:08:29 -03:00 |
Roberto Ierusalimschy
|
bb1851ce98
|
'for' loop uses integers when possible
|
2013-04-25 16:50:02 -03:00 |
Roberto Ierusalimschy
|
e381c582de
|
integer handling for order comparisons, power, and modulo operations
|
2013-04-25 16:12:41 -03:00 |
Roberto Ierusalimschy
|
9600c60df3
|
functions 'get_equalTM' and 'call_orderTM' moved to other files
to make 'lvm.c' smaller
|
2013-04-25 13:07:52 -03:00 |
Roberto Ierusalimschy
|
32bf6c9b27
|
functions 'traceexec', 'callTM', and 'call_binTM' moved to other
files to make 'lvm.c' a little smaller
|
2013-04-25 12:59:42 -03:00 |
Roberto Ierusalimschy
|
d4f0c4435d
|
a few more operations supporting integers (minus, umin, mult)
|
2013-04-16 15:43:05 -03:00 |
Roberto Ierusalimschy
|
07f861385e
|
first steps in the support of integers: basic representation + table indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
|
2013-04-15 12:44:46 -03:00 |
Roberto Ierusalimschy
|
8f8665fffa
|
'ttypenv' -> 'ttnov'
|
2013-04-12 16:07:09 -03:00 |
Roberto Ierusalimschy
|
75250a237c
|
typos in comments
|
2013-03-16 18:10:18 -03:00 |
Roberto Ierusalimschy
|
a3e1c40d6d
|
remove of unecessary luaD_checkstack. (In some cases, C should
ensure stack space; in others, Lua can use the extra slots for
temporary values.)
|
2012-08-16 14:34:28 -03:00 |
Roberto Ierusalimschy
|
53480f1163
|
details (remove of some extra spaces)
|
2012-08-14 15:12:34 -03:00 |
Roberto Ierusalimschy
|
cc2a60ecb7
|
bugs in yields inside debug hooks
|
2012-06-08 12:14:04 -03:00 |
Roberto Ierusalimschy
|
5654763797
|
macro 'checkGC' takes care of setting 'top' to limit stack live values
|
2012-05-14 14:50:49 -03:00 |
Roberto Ierusalimschy
|
3cadc37f47
|
no more 'Proto' objects on the stack. Protos are anchored on outer
Protos or on a Closure, which must be created before the Proto.
|
2012-05-08 10:53:33 -03:00 |
Roberto Ierusalimschy
|
a4b96ce9a3
|
first implementation of long strings
|
2012-01-25 19:05:40 -02:00 |
Roberto Ierusalimschy
|
9f1a8dbdd3
|
'eqstr' -> 'luaS_eqstr'
|
2012-01-23 21:05:18 -02:00 |
Roberto Ierusalimschy
|
c82087b8dd
|
cast from 'bool' to 'int' (for C++)
|
2011-12-07 12:43:55 -02:00 |
Roberto Ierusalimschy
|
8c62bde36f
|
comment
|
2011-11-29 13:54:38 -02:00 |
Roberto Ierusalimschy
|
8119374e74
|
avoid warnings of unreacheable 'break's
|
2011-11-28 15:25:16 -02:00 |
Roberto Ierusalimschy
|
217e67cb22
|
new type 'l_noret' for function that do not return
|
2011-10-07 17:45:19 -03:00 |
Roberto Ierusalimschy
|
89b59eee73
|
bug: __newindex metamethod may not work if metatable is its own
metatable + luaV_settable does not create entry when there is a
metamethod (and therefore entry is useless)
|
2011-08-17 17:26:47 -03:00 |
Roberto Ierusalimschy
|
92afcf2823
|
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
|
2011-08-09 17:58:29 -03:00 |
Roberto Ierusalimschy
|
f62565abea
|
avoid warnings with -Wstrict-overflow
|
2011-06-09 15:24:22 -03:00 |
Roberto Ierusalimschy
|
3b44821334
|
stricter control (using tag variants) over closure kinds (Lua x C)
|
2011-06-02 16:31:40 -03:00 |
Roberto Ierusalimschy
|
821bd7025e
|
more uniform names for 'equalobj'-related functions
|
2011-05-31 15:27:56 -03:00 |
Roberto Ierusalimschy
|
9b7dddad7d
|
no need for two different implementations for equality (one raw and
one with metamethods)
|
2011-05-31 15:24:36 -03:00 |
Roberto Ierusalimschy
|
81952e6884
|
avoid using expression as argument to unsafe macro 'l_isfalse'
|
2011-05-05 13:16:33 -03:00 |
Roberto Ierusalimschy
|
4758113043
|
change in opcode OP_LOADNIL: B is used as a counter instead of a
register. (Avoids an assignment to R(B), not present in any other
instruction.)
|
2011-04-19 13:22:13 -03:00 |
Roberto Ierusalimschy
|
05ca63642b
|
added macro for code checking
|
2011-04-18 16:48:53 -03:00 |
Roberto Ierusalimschy
|
427ee519db
|
new instruction OP_LOADKX (to replace OP_LOADK with extra argument)
|
2011-04-07 15:14:12 -03:00 |
Roberto Ierusalimschy
|
5286650894
|
new macro 'ttisequal'
|
2011-04-05 15:32:06 -03:00 |
Roberto Ierusalimschy
|
0fb1644c60
|
2nd operand for unary tag methods does not need to be 'nil'
|
2011-04-05 11:26:23 -03:00 |
Roberto Ierusalimschy
|
e7a9c45a48
|
trying to avoid assumption that sizeof(char)==1
|
2011-02-07 17:15:24 -02:00 |
Roberto Ierusalimschy
|
f8d677f94c
|
no more 'OP_CLOSE' instructions (use jumps to close upvalues)
|
2011-02-07 10:28:27 -02:00 |
Roberto Ierusalimschy
|
06c7efb4a9
|
avoid extra increment to 'savedpc' when jumping
|
2011-02-01 16:32:55 -02:00 |
Roberto Ierusalimschy
|
dd547c55c8
|
new scheme to close upvalues in 'break'; jump instructions may
do the close, avoiding the need for a OP_CLOSE instruction
|
2011-02-01 16:03:10 -02:00 |
Roberto Ierusalimschy
|
c9af0768fc
|
GC does not mark dead registers inside activation record
|
2010-12-17 10:05:37 -02:00 |
Roberto Ierusalimschy
|
ccc4fc9cf0
|
detection of erroneous numeric strings with \0 (such as "1\0")
|
2010-12-06 19:08:36 -02:00 |
Roberto Ierusalimschy
|
fdd5f2f7a3
|
comment typos
|
2010-10-29 15:52:46 -02:00 |
Roberto Ierusalimschy
|
4590a89b32
|
corrected warnings from different compilers (mostly casts and small
details)
|
2010-10-25 17:01:37 -02:00 |
Roberto Ierusalimschy
|
a71c5f6f53
|
typo in comments
|
2010-06-30 11:11:17 -03:00 |
Roberto Ierusalimschy
|
fabe4ec487
|
better barrier for prototypes
|
2010-06-07 13:55:34 -03:00 |
Roberto Ierusalimschy
|
575074fd85
|
Lua closures are cached for reuse
|
2010-06-04 10:25:10 -03:00 |
Roberto Ierusalimschy
|
cf531912f2
|
one more macro (mvdispatch) to easy experiments with alternative
dispatch methods
|
2010-05-13 16:53:05 -03:00 |
Roberto Ierusalimschy
|
b6e9fcbd70
|
use of macro ('vmcase') to format all cases in main switch of
'luaV_execute' (to facilitate experiences with direct threading)
|
2010-05-12 17:40:35 -03:00 |
Roberto Ierusalimschy
|
8554baeacf
|
small changes in 'luaV_execute' to make cases more regularly formatted
|
2010-05-12 17:31:33 -03:00 |
Roberto Ierusalimschy
|
237f755dca
|
typos in comments
|
2010-05-05 15:49:56 -03:00 |
Roberto Ierusalimschy
|
fde866e303
|
details (comments)
|
2010-05-04 14:25:19 -03:00 |