changelog
- Sat, 21 Sep 2013 14:31:22 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 21 Sep 2013 14:31:22 +0100] rev 143
- Fix math.frexp() and add more tests (thanks Florob, Link Mauve, xnyhps)
- Sat, 21 Sep 2013 14:02:16 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 21 Sep 2013 14:02:16 +0100] rev 142
- Add math.frexp() and tests (many thanks to Florob and Link Mauve!)
- Wed, 24 Nov 2010 03:36:14 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 03:36:14 +0000] rev 141
- Implement basic string.format() supporting %d/%s
- Wed, 24 Nov 2010 03:35:40 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 03:35:40 +0000] rev 140
- baselib: Implement basic message-only error()
- Wed, 24 Nov 2010 02:53:15 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:53:15 +0000] rev 139
- Implement string.find (mostly) and string.sub
- Wed, 24 Nov 2010 02:52:37 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:52:37 +0000] rev 138
- Replace error reporting code with calls to LVM.traceback()
- Wed, 24 Nov 2010 02:52:01 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:52:01 +0000] rev 137
- Add LVM.traceback() function
- Wed, 24 Nov 2010 02:51:38 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:51:38 +0000] rev 136
- OP_SETLIST: Implement support for B==0 (to top of stack)
- Wed, 24 Nov 2010 02:50:31 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:50:31 +0000] rev 135
- OP_RETURN: Pad out results with nils if we get less results than expected
- Wed, 24 Nov 2010 02:50:02 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:50:02 +0000] rev 134
- OP_TAILCALL: Fall through to OP_CALL for native functions
- Wed, 24 Nov 2010 02:49:40 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:49:40 +0000] rev 133
- OP_VARARG: Fix off-by-one
- Wed, 24 Nov 2010 02:48:56 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:48:56 +0000] rev 132
- OP_GETUPVALUE: Clone original LValue
- Wed, 24 Nov 2010 02:48:27 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:48:27 +0000] rev 131
- Create local function to use as chunk prototype
- Wed, 24 Nov 2010 02:47:47 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 24 Nov 2010 02:47:47 +0000] rev 130
- Better verification of function validity in LVM.call()
- Mon, 22 Nov 2010 19:38:27 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 19:38:27 +0000] rev 129
- Indentation fix
- Mon, 22 Nov 2010 19:38:12 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 19:38:12 +0000] rev 128
- 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.
- Mon, 22 Nov 2010 05:06:37 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 05:06:37 +0000] rev 127
- Implement OP_TAILCALL - the last opcode!
- Mon, 22 Nov 2010 04:56:38 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:56:38 +0000] rev 126
- Add a whole bunch of tests I've been using for recent additions
- Mon, 22 Nov 2010 04:54:59 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:54:59 +0000] rev 125
- Adjust pc down by 1 when calculating error lines, pc is always the /next/ instruction
- Mon, 22 Nov 2010 04:54:18 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:54:18 +0000] rev 124
- Remove some debugging in the gmatch function
- Mon, 22 Nov 2010 04:53:09 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:53:09 +0000] rev 123
- Implement OP_VARARG
- Mon, 22 Nov 2010 04:52:55 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:52:55 +0000] rev 122
- OP_RETURN: Shrink stack on return
- Mon, 22 Nov 2010 04:52:29 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:52:29 +0000] rev 121
- OP_CALL: Don't push varargs into called function's stack
- Mon, 22 Nov 2010 04:13:28 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:13:28 +0000] rev 120
- Fix OP_CONCAT: missing break; and should supply empty separator to join()
- Mon, 22 Nov 2010 04:05:25 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 04:05:25 +0000] rev 119
- assert(): Throw "assertion failed" message when none supplied
- Mon, 22 Nov 2010 02:43:55 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 02:43:55 +0000] rev 118
- "Implement" OP_CLOSE
- Mon, 22 Nov 2010 02:36:09 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 02:36:09 +0000] rev 117
- Fix OP_FORLOOP to set the loop counter variable properly
- Mon, 22 Nov 2010 02:34:26 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 02:34:26 +0000] rev 116
- Implement LValue.len() and OP_LEN (no metamethod yet)
- Mon, 22 Nov 2010 02:33:56 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 02:33:56 +0000] rev 115
- Switch to [] for representing tables (for now)
- Mon, 22 Nov 2010 02:32:01 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 02:32:01 +0000] rev 114
- Don't use this.LValue() inside the VM - it's for JS types only
- Mon, 22 Nov 2010 02:31:16 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 22 Nov 2010 02:31:16 +0000] rev 113
- 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
- Sun, 21 Nov 2010 21:37:07 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 21:37:07 +0000] rev 112
- Implement OP_MOD, OP_POW, OP_UNM, OP_NOT (no metamethods yet)
- Sun, 21 Nov 2010 21:36:26 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 21:36:26 +0000] rev 111
- New (passing) test, arithmetic.lua
- Sun, 21 Nov 2010 21:25:24 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 21:25:24 +0000] rev 110
- Implement OP_MUL (no metamethod yet)
- Sun, 21 Nov 2010 21:17:59 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 21:17:59 +0000] rev 109
- Fix FORPREP to not blat R(A+3) - not sure what that line thought it was doing
- Sun, 21 Nov 2010 16:50:39 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:50:39 +0000] rev 108
- Add unimplemented OP_* codes as reference
- Sun, 21 Nov 2010 16:35:08 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:35:08 +0000] rev 107
- Fix exception in stack printing for some tests when debug mode is enabled
- Sun, 21 Nov 2010 16:29:29 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:29:29 +0000] rev 106
- Prettier stack printing in debugMode
- Sun, 21 Nov 2010 16:28:40 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:28:40 +0000] rev 105
- Fix traceback in error handling...
- Sun, 21 Nov 2010 16:28:17 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:28:17 +0000] rev 104
- Add string lib, with gmatch function only for now
- Sun, 21 Nov 2010 16:27:41 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:27:41 +0000] rev 103
- Implement OP_SETLIST
- Sun, 21 Nov 2010 16:27:18 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:27:18 +0000] rev 102
- Implement OP_TFORLOOP
- Sun, 21 Nov 2010 16:25:08 +0000
- by Matthew Wild <mwild1@gmail.com> [Sun, 21 Nov 2010 16:25:08 +0000] rev 101
- Implement OP_CONCAT (no metamethod yet)
- Sat, 20 Nov 2010 15:19:42 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 15:19:42 +0000] rev 100
- Remove some debugging in math.ldexp() accidentally committed
- Sat, 20 Nov 2010 15:19:19 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 15:19:19 +0000] rev 99
- Implement OP_DIV (no metamethod yet)
- Sat, 20 Nov 2010 12:13:12 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 12:13:12 +0000] rev 98
- Don't try and print current position in the Lua script with no valid frame
- Sat, 20 Nov 2010 12:12:46 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 12:12:46 +0000] rev 97
- Rename default_environment to _G, use registerLib() for baselib and add math lib with 2 ldexp, floor
- Sat, 20 Nov 2010 12:11:34 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 12:11:34 +0000] rev 96
- Add LVM().registerLib(env, name, lib) to register a table of native functions to an environment.
- Sat, 20 Nov 2010 12:10:53 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 12:10:53 +0000] rev 95
- Fix OP_SUB to use RK() too...
- Sat, 20 Nov 2010 11:11:56 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 11:11:56 +0000] rev 94
- Update basic_logic test
- Sat, 20 Nov 2010 11:11:17 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 11:11:17 +0000] rev 93
- Print out location at which errors occur, yay!
- Sat, 20 Nov 2010 11:11:01 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 11:11:01 +0000] rev 92
- Pass sourceName to child chunks (in binary files it's only set in the top-level chunk)
- Sat, 20 Nov 2010 11:07:24 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 20 Nov 2010 11:07:24 +0000] rev 91
- Disable debugMode, accidentally committed
- Fri, 19 Nov 2010 21:06:50 +0000
- by Matthew Wild <mwild1@gmail.com> [Fri, 19 Nov 2010 21:06:50 +0000] rev 90
- Implement OP_LE (no metamethod yet)
- Fri, 19 Nov 2010 20:52:08 +0000
- by Matthew Wild <mwild1@gmail.com> [Fri, 19 Nov 2010 20:52:08 +0000] rev 89
- Fix OP_LT to respect A, and move OP_EQ to live next to it in the switch() for readability
- Fri, 19 Nov 2010 19:49:25 +0000
- by Matthew Wild <mwild1@gmail.com> [Fri, 19 Nov 2010 19:49:25 +0000] rev 88
- Fix OP_LT to use RK()