changelog
- Mon, 24 May 2010 12:55:03 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 24 May 2010 12:55:03 +0100] rev 43
- Give LFunctions a vm property
- Mon, 24 May 2010 12:54:20 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 24 May 2010 12:54:20 +0100] rev 42
- Localize instructions and reg from frame
- Sun, 23 May 2010 19:54:45 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 19:54:45 +0100] rev 41
- Split LVM.run() into LVM.call()/LVM.run()
- Sun, 23 May 2010 17:31:57 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 17:31:57 +0100] rev 40
- Implement OP_TEST and OP_JMP
- Sun, 23 May 2010 17:31:41 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 17:31:41 +0100] rev 39
- Implement OP_LOADBOOL
- Sun, 23 May 2010 17:31:15 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 17:31:15 +0100] rev 38
- Initialise all stack slots to nil when calling a chunk
- Sun, 23 May 2010 17:30:43 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 17:30:43 +0100] rev 37
- Allow LValues with a value of 'false' to be create (it was converted to 'null')
- Sun, 23 May 2010 13:48:39 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 13:48:39 +0100] rev 36
- Implement OP_SELF
- Sun, 23 May 2010 13:48:29 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 13:48:29 +0100] rev 35
- Fix for error handling to handle string exceptions
- Sun, 23 May 2010 13:28:45 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 13:28:45 +0100] rev 34
- OP_FORPREP, OP_FORLOOP: Support for numerical for loops
- Sun, 23 May 2010 13:28:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 13:28:23 +0100] rev 33
- Instantiate a new LValue in OP_LOADK, otherwise "constants" aren't so constant...
- Sun, 23 May 2010 13:27:36 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 13:27:36 +0100] rev 32
- Fix off-by-one in calculating the value of sBx
- Sun, 23 May 2010 13:26:51 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 13:26:51 +0100] rev 31
- Print sBx field in bytecode dump (for debugging)
- Sun, 23 May 2010 12:46:56 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 12:46:56 +0100] rev 30
- Couple of fixes for last commit
- Sun, 23 May 2010 12:46:02 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 12:46:02 +0100] rev 29
- Remove rawExceptions flag, always print exception's stack trace if it has one
- Sun, 23 May 2010 02:38:45 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 02:38:45 +0100] rev 28
- Support for OP_NEWTABLE, OP_GETTABLE, OP_SETTABLE
- Sun, 23 May 2010 02:29:04 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 23 May 2010 02:29:04 +0100] rev 27
- New LValueFromValue() to convert from any Javascript value (almost) to a LValue
- Sat, 22 May 2010 20:14:33 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 20:14:33 +0100] rev 26
- Implement OP_SETUPVALUE \o/
- Sat, 22 May 2010 20:08:03 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 20:08:03 +0100] rev 25
- Add new debug option - rawExceptions - to prevent catching exceptions thrown by the VM, use for debugging the VM.
- Sat, 22 May 2010 20:07:05 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 20:07:05 +0100] rev 24
- It's required to insert the new function into the stack before processing its upvalue instructions, in case it refers to itself.
- Sat, 22 May 2010 20:05:58 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 20:05:58 +0100] rev 23
- Remove some, hmm, "debugging" code :)
- Sat, 22 May 2010 17:41:17 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 17:41:17 +0100] rev 22
- Remove some accidentally-committed debug output
- Sat, 22 May 2010 17:37:02 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 17:37:02 +0100] rev 21
- Switch from JSON.stringify for debug output to sys.inspect which doesn't bail out on circular references
- Sat, 22 May 2010 17:33:43 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 May 2010 17:33:43 +0100] rev 20
- Support for upvalues in functions \o/ implemented OP_GETUPVAL, and a stub for OP_SETUPVAL.
- Wed, 07 Apr 2010 04:15:59 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 04:15:59 +0100] rev 19
- OP_RETURN: Support for return values from Lua functions \o/
- Wed, 07 Apr 2010 04:15:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 04:15:23 +0100] rev 18
- Support for B==0 in OP_CALL (signifies params are to top of the stack)
- Wed, 07 Apr 2010 03:07:10 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 03:07:10 +0100] rev 17
- Fix OP_RETURN to update this.frame
- Wed, 07 Apr 2010 03:06:46 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 03:06:46 +0100] rev 16
- Implement OP_CALL for Lua functions (no return values yet)
- Wed, 07 Apr 2010 03:05:52 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 03:05:52 +0100] rev 15
- Implement basic OP_CLOSURE (no support for upvalues yet)
- Wed, 07 Apr 2010 03:05:24 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 03:05:24 +0100] rev 14
- Add chunk property to LFunction to show which chunk it came from
- Wed, 07 Apr 2010 02:46:56 +0100
- by Matthew Wild <mwild1@gmail.com> [Wed, 07 Apr 2010 02:46:56 +0100] rev 13
- Support for reading all fields in the chunk (including function prototypes, required for OP_CLOSURE)
- Tue, 06 Apr 2010 19:27:28 +0100
- by Matthew Wild <mwild1@gmail.com> [Tue, 06 Apr 2010 19:27:28 +0100] rev 12
- Initial stab at reading Number constants from bytecode
- Tue, 06 Apr 2010 14:51:25 +0100
- by Matthew Wild <mwild1@gmail.com> [Tue, 06 Apr 2010 14:51:25 +0100] rev 11
- Throw error on unhandled opcodes
- Tue, 06 Apr 2010 14:51:06 +0100
- by Matthew Wild <mwild1@gmail.com> [Tue, 06 Apr 2010 14:51:06 +0100] rev 10
- Use new notation for accessing instruction fields
- Tue, 06 Apr 2010 14:49:52 +0100
- by Matthew Wild <mwild1@gmail.com> [Tue, 06 Apr 2010 14:49:52 +0100] rev 9
- Add a bytecode interpreter \o/
- Tue, 06 Apr 2010 14:47:21 +0100
- by Matthew Wild <mwild1@gmail.com> [Tue, 06 Apr 2010 14:47:21 +0100] rev 8
- Add debugMode switch
- Tue, 06 Apr 2010 14:46:30 +0100
- by Matthew Wild <mwild1@gmail.com> [Tue, 06 Apr 2010 14:46:30 +0100] rev 7
- Add errors for when trying to index non-tables
- Mon, 05 Apr 2010 17:23:18 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 05 Apr 2010 17:23:18 +0100] rev 6
- Implement OP_SETGLOBAL
- Mon, 05 Apr 2010 17:14:58 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 05 Apr 2010 17:14:58 +0100] rev 5
- Print error on error
- Mon, 05 Apr 2010 17:14:36 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 05 Apr 2010 17:14:36 +0100] rev 4
- Return nil for non-existent table keys
- Mon, 05 Apr 2010 17:14:09 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 05 Apr 2010 17:14:09 +0100] rev 3
- Throw an error if trying to call a non-function
- Mon, 05 Apr 2010 17:03:06 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 05 Apr 2010 17:03:06 +0100] rev 2
- Implement OP_MOVE, OP_LOADNIL and OP_RETURN. Also change the way OP_CALL is implemented, and update the test code with a more complicated (kind of) sample.
- Sun, 04 Apr 2010 21:08:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 04 Apr 2010 21:08:23 +0100] rev 1
- Style fix
- Sun, 04 Apr 2010 21:02:16 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 04 Apr 2010 21:02:16 +0100] rev 0
- Initial commit