Sat, 21 Sep 2013 14:31:22 +0100 |
Matthew Wild |
Fix math.frexp() and add more tests (thanks Florob, Link Mauve, xnyhps)
default tip
|
changeset |
files
|
Sat, 21 Sep 2013 14:02:16 +0100 |
Matthew Wild |
Add math.frexp() and tests (many thanks to Florob and Link Mauve!)
|
changeset |
files
|
Wed, 24 Nov 2010 03:36:14 +0000 |
Matthew Wild |
Implement basic string.format() supporting %d/%s
|
changeset |
files
|
Wed, 24 Nov 2010 03:35:40 +0000 |
Matthew Wild |
baselib: Implement basic message-only error()
|
changeset |
files
|
Wed, 24 Nov 2010 02:53:15 +0000 |
Matthew Wild |
Implement string.find (mostly) and string.sub
|
changeset |
files
|
Wed, 24 Nov 2010 02:52:37 +0000 |
Matthew Wild |
Replace error reporting code with calls to LVM.traceback()
|
changeset |
files
|
Wed, 24 Nov 2010 02:52:01 +0000 |
Matthew Wild |
Add LVM.traceback() function
|
changeset |
files
|
Wed, 24 Nov 2010 02:51:38 +0000 |
Matthew Wild |
OP_SETLIST: Implement support for B==0 (to top of stack)
|
changeset |
files
|
Wed, 24 Nov 2010 02:50:31 +0000 |
Matthew Wild |
OP_RETURN: Pad out results with nils if we get less results than expected
|
changeset |
files
|
Wed, 24 Nov 2010 02:50:02 +0000 |
Matthew Wild |
OP_TAILCALL: Fall through to OP_CALL for native functions
|
changeset |
files
|
Wed, 24 Nov 2010 02:49:40 +0000 |
Matthew Wild |
OP_VARARG: Fix off-by-one
|
changeset |
files
|
Wed, 24 Nov 2010 02:48:56 +0000 |
Matthew Wild |
OP_GETUPVALUE: Clone original LValue
|
changeset |
files
|
Wed, 24 Nov 2010 02:48:27 +0000 |
Matthew Wild |
Create local function to use as chunk prototype
|
changeset |
files
|
Wed, 24 Nov 2010 02:47:47 +0000 |
Matthew Wild |
Better verification of function validity in LVM.call()
|
changeset |
files
|
Mon, 22 Nov 2010 19:38:27 +0000 |
Matthew Wild |
Indentation fix
|
changeset |
files
|
Mon, 22 Nov 2010 19:38:12 +0000 |
Matthew Wild |
Change LVM.call() to take an LValue rather than the raw native/LFunction object. Also add LVM.loadstring(chunk, env) and use that for loading luac.out.
|
changeset |
files
|
Mon, 22 Nov 2010 05:06:37 +0000 |
Matthew Wild |
Implement OP_TAILCALL - the last opcode!
|
changeset |
files
|
Mon, 22 Nov 2010 04:56:38 +0000 |
Matthew Wild |
Add a whole bunch of tests I've been using for recent additions
|
changeset |
files
|
Mon, 22 Nov 2010 04:54:59 +0000 |
Matthew Wild |
Adjust pc down by 1 when calculating error lines, pc is always the /next/ instruction
|
changeset |
files
|
Mon, 22 Nov 2010 04:54:18 +0000 |
Matthew Wild |
Remove some debugging in the gmatch function
|
changeset |
files
|
Mon, 22 Nov 2010 04:53:09 +0000 |
Matthew Wild |
Implement OP_VARARG
|
changeset |
files
|
Mon, 22 Nov 2010 04:52:55 +0000 |
Matthew Wild |
OP_RETURN: Shrink stack on return
|
changeset |
files
|
Mon, 22 Nov 2010 04:52:29 +0000 |
Matthew Wild |
OP_CALL: Don't push varargs into called function's stack
|
changeset |
files
|
Mon, 22 Nov 2010 04:13:28 +0000 |
Matthew Wild |
Fix OP_CONCAT: missing break; and should supply empty separator to join()
|
changeset |
files
|
Mon, 22 Nov 2010 04:05:25 +0000 |
Matthew Wild |
assert(): Throw "assertion failed" message when none supplied
|
changeset |
files
|
Mon, 22 Nov 2010 02:43:55 +0000 |
Matthew Wild |
"Implement" OP_CLOSE
|
changeset |
files
|
Mon, 22 Nov 2010 02:36:09 +0000 |
Matthew Wild |
Fix OP_FORLOOP to set the loop counter variable properly
|
changeset |
files
|
Mon, 22 Nov 2010 02:34:26 +0000 |
Matthew Wild |
Implement LValue.len() and OP_LEN (no metamethod yet)
|
changeset |
files
|
Mon, 22 Nov 2010 02:33:56 +0000 |
Matthew Wild |
Switch to [] for representing tables (for now)
|
changeset |
files
|
Mon, 22 Nov 2010 02:32:01 +0000 |
Matthew Wild |
Don't use this.LValue() inside the VM - it's for JS types only
|
changeset |
files
|
Mon, 22 Nov 2010 02:31:16 +0000 |
Matthew Wild |
Fix OP_CALL to handle the case of B==1 (no parameters) and fix an off-by-one error that wouldn't fill the stack with nils properly
|
changeset |
files
|
Sun, 21 Nov 2010 21:37:07 +0000 |
Matthew Wild |
Implement OP_MOD, OP_POW, OP_UNM, OP_NOT (no metamethods yet)
|
changeset |
files
|
Sun, 21 Nov 2010 21:36:26 +0000 |
Matthew Wild |
New (passing) test, arithmetic.lua
|
changeset |
files
|
Sun, 21 Nov 2010 21:25:24 +0000 |
Matthew Wild |
Implement OP_MUL (no metamethod yet)
|
changeset |
files
|
Sun, 21 Nov 2010 21:17:59 +0000 |
Matthew Wild |
Fix FORPREP to not blat R(A+3) - not sure what that line thought it was doing
|
changeset |
files
|
Sun, 21 Nov 2010 16:50:39 +0000 |
Matthew Wild |
Add unimplemented OP_* codes as reference
|
changeset |
files
|
Sun, 21 Nov 2010 16:35:08 +0000 |
Matthew Wild |
Fix exception in stack printing for some tests when debug mode is enabled
|
changeset |
files
|
Sun, 21 Nov 2010 16:29:29 +0000 |
Matthew Wild |
Prettier stack printing in debugMode
|
changeset |
files
|
Sun, 21 Nov 2010 16:28:40 +0000 |
Matthew Wild |
Fix traceback in error handling...
|
changeset |
files
|
Sun, 21 Nov 2010 16:28:17 +0000 |
Matthew Wild |
Add string lib, with gmatch function only for now
|
changeset |
files
|
Sun, 21 Nov 2010 16:27:41 +0000 |
Matthew Wild |
Implement OP_SETLIST
|
changeset |
files
|
Sun, 21 Nov 2010 16:27:18 +0000 |
Matthew Wild |
Implement OP_TFORLOOP
|
changeset |
files
|
Sun, 21 Nov 2010 16:25:08 +0000 |
Matthew Wild |
Implement OP_CONCAT (no metamethod yet)
|
changeset |
files
|
Sat, 20 Nov 2010 15:19:42 +0000 |
Matthew Wild |
Remove some debugging in math.ldexp() accidentally committed
|
changeset |
files
|
Sat, 20 Nov 2010 15:19:19 +0000 |
Matthew Wild |
Implement OP_DIV (no metamethod yet)
|
changeset |
files
|
Sat, 20 Nov 2010 12:13:12 +0000 |
Matthew Wild |
Don't try and print current position in the Lua script with no valid frame
|
changeset |
files
|
Sat, 20 Nov 2010 12:12:46 +0000 |
Matthew Wild |
Rename default_environment to _G, use registerLib() for baselib and add math lib with 2 ldexp, floor
|
changeset |
files
|
Sat, 20 Nov 2010 12:11:34 +0000 |
Matthew Wild |
Add LVM().registerLib(env, name, lib) to register a table of native functions to an environment.
|
changeset |
files
|
Sat, 20 Nov 2010 12:10:53 +0000 |
Matthew Wild |
Fix OP_SUB to use RK() too...
|
changeset |
files
|
Sat, 20 Nov 2010 11:11:56 +0000 |
Matthew Wild |
Update basic_logic test
|
changeset |
files
|
Sat, 20 Nov 2010 11:11:17 +0000 |
Matthew Wild |
Print out location at which errors occur, yay!
|
changeset |
files
|
Sat, 20 Nov 2010 11:11:01 +0000 |
Matthew Wild |
Pass sourceName to child chunks (in binary files it's only set in the top-level chunk)
|
changeset |
files
|
Sat, 20 Nov 2010 11:07:24 +0000 |
Matthew Wild |
Disable debugMode, accidentally committed
|
changeset |
files
|
Fri, 19 Nov 2010 21:06:50 +0000 |
Matthew Wild |
Implement OP_LE (no metamethod yet)
|
changeset |
files
|
Fri, 19 Nov 2010 20:52:08 +0000 |
Matthew Wild |
Fix OP_LT to respect A, and move OP_EQ to live next to it in the switch() for readability
|
changeset |
files
|
Fri, 19 Nov 2010 19:49:25 +0000 |
Matthew Wild |
Fix OP_LT to use RK()
|
changeset |
files
|