Roberto Ierusalimschy
|
36e8771076
'luaO_str2int' more generic: accepts white spaces around the numeral
|
12 年之前 |
Roberto Ierusalimschy
|
fa6ea831b3
macro 'nvalue' removed (direct conversion from integer to double,
|
12 年之前 |
Roberto Ierusalimschy
|
67532d5a10
constant folding and API arithmetic with integers
|
12 年之前 |
Roberto Ierusalimschy
|
00744a2729
'luaO_arith' -> 'luaO_numarith'
|
12 年之前 |
Roberto Ierusalimschy
|
1294b09d8e
first implementation of literal integers (no constant folding yet)
|
12 年之前 |
Roberto Ierusalimschy
|
07f861385e
first steps in the support of integers: basic representation + table indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
|
12 年之前 |
Roberto Ierusalimschy
|
8f8665fffa
'ttypenv' -> 'ttnov'
|
12 年之前 |
Roberto Ierusalimschy
|
cf160abcf9
no more macro 'changenvalue'
|
13 年之前 |
Roberto Ierusalimschy
|
77cbd817d1
better(?) handling of '#define's for IEEE-related tricks + avoid using
|
13 年之前 |
Roberto Ierusalimschy
|
3cadc37f47
no more 'Proto' objects on the stack. Protos are anchored on outer
|
13 年之前 |
Roberto Ierusalimschy
|
a4b96ce9a3
first implementation of long strings
|
13 年之前 |
Roberto Ierusalimschy
|
291f564485
field 'reserved' -> 'extra' (may be used for other purposes too)
|
13 年之前 |
Roberto Ierusalimschy
|
28f8ed9113
new macro 'checktype'
|
13 年之前 |
Roberto Ierusalimschy
|
fd22ccd6d0
object tag keeps variant bits too -> no need for 'isC' field in
|
13 年之前 |
Roberto Ierusalimschy
|
87cf2bf711
extra comments about what fields are optional debug information
|
13 年之前 |
Roberto Ierusalimschy
|
1350a2bcb5
more macros to try to make NaN trick work with other sizes of
|
14 年之前 |
Roberto Ierusalimschy
|
87912786af
dead objects are not collectable.
|
14 年之前 |
Roberto Ierusalimschy
|
9e89a55a4f
NILCONSTANT also depends no endianess (with NaN trick)
|
14 年之前 |
Roberto Ierusalimschy
|
fd80e63468
configuration for NaN trick big-endian + macro 'luai_checknum' to
|
14 年之前 |
Roberto Ierusalimschy
|
35391d9b1a
macro 'NNMARK' (mark for non-number values using the NaN trick)
|
14 年之前 |
Roberto Ierusalimschy
|
99b1b8e918
first version with 'NANTRICK' (packing all Lua values inside a 'double')
|
14 年之前 |
Roberto Ierusalimschy
|
3b44821334
stricter control (using tag variants) over closure kinds (Lua x C)
|
14 年之前 |
Roberto Ierusalimschy
|
0214dab989
yet another macro ('num_')
|
14 年之前 |
Roberto Ierusalimschy
|
9b7dddad7d
no need for two different implementations for equality (one raw and
|
14 年之前 |
Roberto Ierusalimschy
|
2a59a999d4
yet another macro abstracting TValue representation
|
14 年之前 |
Roberto Ierusalimschy
|
3cf1729a02
new macro 'lua_longassert' that is equivalent to an assertion without
|
14 年之前 |
Roberto Ierusalimschy
|
25b4e35ee8
new macros abstracting TValue representation (to easy change to
|
14 年之前 |
Roberto Ierusalimschy
|
7e1facaa4e
detail in assertion
|
14 年之前 |
Roberto Ierusalimschy
|
ad2531a0ee
more complete (and hopefuly more correct) handling of 'sizeof(char)'
|
14 年之前 |
Roberto Ierusalimschy
|
a958b711f5
cleaner scheme of bits for variant types (light C functions) and
|
14 年之前 |