Mike Pall
5f1781a127
Compile string concatenations (BC_CAT).
2013-04-21 01:01:33 +02:00
Mike Pall
116cdd7e9a
String buffer refactoring, part 2.
...
Switch to pointers for start/pos/end of buffer.
Abstract out some buffer writers.
2013-02-27 21:28:28 +01:00
Mike Pall
60e380fd93
Replace table.getn/foreach/foreachi with bytecode builtins.
2013-02-23 02:17:50 +01:00
Mike Pall
73ef845fca
Add special bytecodes for builtins.
...
BC_ISTYPE, BC_ISNUM: fast type checks/coercions.
BC_TGETR, BC_TSETR: fast rawgeti/rawseti, no type checks for table/key.
2013-02-23 02:09:19 +01:00
Mike Pall
b359ce804b
Remove obsolete non-truncating number to integer conversions.
2013-02-23 01:19:00 +01:00
Mike Pall
19d5651455
Replace math.deg/math.rad with builtin Lua function.
2013-02-22 01:44:17 +01:00
Mike Pall
4a44c4ff69
Bump copyright date to 2013.
2013-02-11 12:54:48 +01:00
Mike Pall
eabfdfe1aa
Don't use stack unwinding for lua_yield().
2012-10-09 13:19:57 +02:00
Mike Pall
2f5ed5d0df
From Lua 5.2: Add string.rep(s, n, sep).
2012-10-07 17:11:39 +02:00
Mike Pall
0561a56938
From Lua 5.2: Add math.log(x, base).
2012-10-07 15:47:11 +02:00
Mike Pall
aed2009378
Fix despecialization of ITERN when already running.
2012-09-12 16:58:47 +02:00
Mike Pall
23932a6c8b
Use 0/1 macro for Lua 5.2 compatibility.
2012-09-12 11:20:47 +02:00
Mike Pall
2ac083cb5a
MIPS: Fix calls to floor/ceil/trunc.
2012-08-19 18:41:34 +02:00
Mike Pall
b51d7fb310
MIPS: Cleanup interpreter.
...
Use DynASM defines instead of C defines.
2012-06-11 00:51:21 +02:00
Mike Pall
9a9509c66a
Reorganize build process.
...
Drop pre-translated buildvm_*.h.
Rename buildvm_*.dasc to vm_*.dasc.
Move buildvm* to host directory.
Build minilua, unless HOST_LUA is set.
Use HOST_LUA to run DynASM.
Translate only vm_*.dasc for target architecture.
2012-06-09 15:12:44 +02:00