summaryrefslogtreecommitdiff
path: root/lvm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* string contatenation handles conversion of integers to strings +Roberto Ierusalimschy2013-06-041-6/+17
| | | | floats always format as floats (with decimal dot or exponent)
* "legal" way to convert a float to an integer in CRoberto Ierusalimschy2013-05-271-6/+14
|
* 'objlen' can return integersRoberto Ierusalimschy2013-05-261-3/+3
|
* macro 'nvalue' removed + cast to void added to avoid warningsRoberto Ierusalimschy2013-05-061-5/+8
| | | | with 'clang'
* new macro 'intop' (to perform integer arithmetic on unsigned types)Roberto Ierusalimschy2013-05-021-9/+8
|
* new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM'Roberto Ierusalimschy2013-04-291-37/+41
|
* favoring 'tonumber' over 'nvalue'Roberto Ierusalimschy2013-04-261-31/+26
|
* detailRoberto Ierusalimschy2013-04-261-3/+3
|
* new interface for 'tonumber'Roberto Ierusalimschy2013-04-261-23/+19
|
* new operation '//' (integer division)Roberto Ierusalimschy2013-04-261-2/+15
|
* 'for' loop uses integers when possibleRoberto Ierusalimschy2013-04-251-16/+33
|
* integer handling for order comparisons, power, and modulo operationsRoberto Ierusalimschy2013-04-251-5/+79
|
* functions 'get_equalTM' and 'call_orderTM' moved to other filesRoberto Ierusalimschy2013-04-251-29/+6
| | | | to make 'lvm.c' smaller
* functions 'traceexec', 'callTM', and 'call_binTM' moved to otherRoberto Ierusalimschy2013-04-251-71/+10
| | | | files to make 'lvm.c' a little smaller
* a few more operations supporting integers (minus, umin, mult)Roberto Ierusalimschy2013-04-161-13/+47
|
* first steps in the support of integers: basic representation + table ↵Roberto Ierusalimschy2013-04-151-8/+24
| | | | indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
* 'ttypenv' -> 'ttnov'Roberto Ierusalimschy2013-04-121-2/+2
|
* typos in commentsRoberto Ierusalimschy2013-03-161-2/+2
|
* remove of unecessary luaD_checkstack. (In some cases, C shouldRoberto Ierusalimschy2012-08-161-2/+1
| | | | | ensure stack space; in others, Lua can use the extra slots for temporary values.)
* details (remove of some extra spaces)Roberto Ierusalimschy2012-08-141-2/+2
|
* bugs in yields inside debug hooksRoberto Ierusalimschy2012-06-081-5/+14
|
* macro 'checkGC' takes care of setting 'top' to limit stack live valuesRoberto Ierusalimschy2012-05-141-16/+9
|
* no more 'Proto' objects on the stack. Protos are anchored on outerRoberto Ierusalimschy2012-05-081-2/+3
| | | | Protos or on a Closure, which must be created before the Proto.
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-1/+2
|
* 'eqstr' -> 'luaS_eqstr'Roberto Ierusalimschy2012-01-231-3/+3
|
* cast from 'bool' to 'int' (for C++)Roberto Ierusalimschy2011-12-071-2/+2
|
* commentRoberto Ierusalimschy2011-11-291-2/+2
|
* avoid warnings of unreacheable 'break'sRoberto Ierusalimschy2011-11-281-3/+4
|
* new type 'l_noret' for function that do not returnRoberto Ierusalimschy2011-10-071-8/+8
|
* bug: __newindex metamethod may not work if metatable is its ownRoberto Ierusalimschy2011-08-171-12/+21
| | | | | metatable + luaV_settable does not create entry when there is a metamethod (and therefore entry is useless)
* no more 'luaH_setstr (used only once) + 'luaH_setint' receives valueRoberto Ierusalimschy2011-08-091-2/+2
| | | | to be set.
* avoid warnings with -Wstrict-overflowRoberto Ierusalimschy2011-06-091-5/+6
|
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-7/+6
|
* more uniform names for 'equalobj'-related functionsRoberto Ierusalimschy2011-05-311-3/+3
|
* no need for two different implementations for equality (one raw andRoberto Ierusalimschy2011-05-311-3/+10
| | | | one with metamethods)
* avoid using expression as argument to unsafe macro 'l_isfalse'Roberto Ierusalimschy2011-05-051-2/+3
|
* change in opcode OP_LOADNIL: B is used as a counter instead of aRoberto Ierusalimschy2011-04-191-4/+4
| | | | | register. (Avoids an assignment to R(B), not present in any other instruction.)
* added macro for code checkingRoberto Ierusalimschy2011-04-181-1/+7
|
* new instruction OP_LOADKX (to replace OP_LOADK with extra argument)Roberto Ierusalimschy2011-04-071-2/+8
|
* new macro 'ttisequal'Roberto Ierusalimschy2011-04-051-2/+2
|
* 2nd operand for unary tag methods does not need to be 'nil'Roberto Ierusalimschy2011-04-051-3/+2
|
* trying to avoid assumption that sizeof(char)==1Roberto Ierusalimschy2011-02-071-3/+4
|
* no more 'OP_CLOSE' instructions (use jumps to close upvalues)Roberto Ierusalimschy2011-02-071-4/+1
|
* avoid extra increment to 'savedpc' when jumpingRoberto Ierusalimschy2011-02-011-15/+20
|
* new scheme to close upvalues in 'break'; jump instructions mayRoberto Ierusalimschy2011-02-011-11/+18
| | | | do the close, avoiding the need for a OP_CLOSE instruction
* GC does not mark dead registers inside activation recordRoberto Ierusalimschy2010-12-171-6/+21
|
* detection of erroneous numeric strings with \0 (such as "1\0")Roberto Ierusalimschy2010-12-061-2/+2
|
* comment typosRoberto Ierusalimschy2010-10-291-2/+2
|
* corrected warnings from different compilers (mostly casts and smallRoberto Ierusalimschy2010-10-251-2/+2
| | | | details)
* typo in commentsRoberto Ierusalimschy2010-06-301-3/+3
|