Mirror of the amazing lua scripting language
#lua #script #scripting #script-engine #embed #embedded #script-language

Roberto Ierusalimschy 0394314c7a avoid using a negative value to test 'lua_tounsigned' 12 anni fa
bugs 2d6a0ae149 added patch to last bug 12 anni fa
lapi.c 932e7fb0e1 'lua_tounsigned' takes number modulo 2^numbits as a result when 12 anni fa
lapi.h 3e41afcec5 extra api checks for number of returns of C functions and for lua_yield 16 anni fa
lauxlib.c 0394314c7a avoid using a negative value to test 'lua_tounsigned' 12 anni fa
lauxlib.h 3617e04e97 'lua_load' has an extra argument 'mode' 13 anni fa
lbaselib.c 5ca5086c19 'tonumber' now works with integers too 12 anni fa
lbitlib.c 44358e0206 extra trim applied to 'replace' argument (in case lua_Unsigned is 12 anni fa
lcode.c 1f2b82bf25 correct way to avoid compile-time errors in integer divisions 12 anni fa
lcode.h a2f5c28a80 new operation '//' (integer division) 12 anni fa
lcorolib.c a83ed55f1e added 'return' (when possible) to calls to error functions 12 anni fa
lctype.c d79190e27f missing 'LUA_CORE' definition 14 anni fa
lctype.h 32a12e2f3f detail (cleaned whitespaces at end of lines) 14 anni fa
ldblib.c 7dcc02b165 BUG: coroutine hooks were not collected together with coroutine 13 anni fa
ldebug.c f2043b7a58 correct error message for conversion errors from float to int 12 anni fa
ldebug.h f2043b7a58 correct error message for conversion errors from float to int 12 anni fa
ldo.c fa3b126a23 BUG: stack overflow in vararg functions with many fixed 12 anni fa
ldo.h 3617e04e97 'lua_load' has an extra argument 'mode' 13 anni fa
ldump.c eee51492e2 dumping and undumping integers 12 anni fa
lfunc.c 86b39206d9 open upvalues cannot be old if thread is not old; when thread is old, 13 anni fa
lfunc.h 3cadc37f47 no more 'Proto' objects on the stack. Protos are anchored on outer 13 anni fa
lgc.c c37b7b3cca bug: garbage collector can trigger too many times in recursive loops, 12 anni fa
lgc.h ae1d318822 small bug: generational mode is always in 'propagate' mode only 13 anni fa
linit.c 19fbdf6cae 'luaL_findtable' -> 'luaL_getsubtable' 14 anni fa
liolib.c 48adb6984c 'io.write' writes integers directly (and correctly) 12 anni fa
llex.c 36e8771076 'luaO_str2int' more generic: accepts white spaces around the numeral 12 anni fa
llex.h a2f5c28a80 new operation '//' (integer division) 12 anni fa
llimits.h fc083f1138 removed all tricks for conversions + 'luai_hashnum' moved to ltable.c 12 anni fa
lmathlib.c 788b251157 'math.random' operates with integers when used for integer results 12 anni fa
lmem.c e131eb0d9a removed debug code 13 anni fa
lmem.h d0c038da07 typo in comment 12 anni fa
loadlib.c b77a90681e typos in comments 13 anni fa
lobject.c 6fb0b11350 string contatenation handles conversion of integers to strings + 12 anni fa
lobject.h 36e8771076 'luaO_str2int' more generic: accepts white spaces around the numeral 12 anni fa
lopcodes.c a2f5c28a80 new operation '//' (integer division) 12 anni fa
lopcodes.h a2f5c28a80 new operation '//' (integer division) 12 anni fa
loslib.c 4ad9970649 uses integers for time 12 anni fa
lparser.c a2f5c28a80 new operation '//' (integer division) 12 anni fa
lparser.h 1294b09d8e first implementation of literal integers (no constant folding yet) 12 anni fa
lstate.c c6b6024a9d cast in 'luai_makeseed' now casts to needed type 13 anni fa
lstate.h f7ec36ab16 comment 13 anni fa
lstring.c 0730a56d38 detail 12 anni fa
lstring.h 678c1255c9 random seed used in the hash of all strings to avoid intentional 13 anni fa
lstrlib.c c5069528e1 details ('Type* id' -> 'Type *id') 12 anni fa
ltable.c 188192ce9a 'luai_hashnum' "inlined" into 'hashfloat' 12 anni fa
ltable.h d4e6b75098 "integer" keys in tables are now lua_Integer, not 'int'. 12 anni fa
ltablib.c 15a3738b49 no need to handle 0 as a special case in 'table.remove' 12 anni fa
ltests.c 0ce3018109 'pushnum' pushes a "number" (float) + new C instruction 'pushint' 12 anni fa
ltests.h d447945685 'module'/'luaL_register' and associates are deprecated 15 anni fa
ltm.c f2043b7a58 correct error message for conversion errors from float to int 12 anni fa
ltm.h b4be507578 new function 'luaT_trybinTM' 12 anni fa
lua.c ab7086e209 pops the string from 'get_prompt' only after using it 13 anni fa
lua.h a14992992a new version (5.3) 12 anni fa
luaconf.h 0beeb4f6fa configuration of number sizes goes "mainstream" 12 anni fa
lualib.h a241b6cb3c removed redundant definition for FILEHANDLE 13 anni fa
lundump.c eee51492e2 dumping and undumping integers 12 anni fa
lundump.h 3cadc37f47 no more 'Proto' objects on the stack. Protos are anchored on outer 13 anni fa
lvm.c 318575627f avoid adding '.0' to "numbers" like "nan" and "inf" 12 anni fa
lvm.h 6920a7f2e3 new macro 'intop' (to perform integer arithmetic on unsigned types) 12 anni fa
lzio.c edfa9e007d details (header comments) 13 anni fa
lzio.h c5069528e1 details ('Type* id' -> 'Type *id') 12 anni fa
makefile 24689927f2 dependencies updated (with 'gcc -MM') 12 anni fa