Fri, 19 Nov 2010 03:38:18 +0000 |
Matthew Wild |
Implement OP_TESTSET
|
file |
diff |
annotate
|
Fri, 19 Nov 2010 03:37:51 +0000 |
Matthew Wild |
Implement OP_ADD, OP_SUB, OP_LT
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:23:39 +0100 |
Matthew Wild |
Move try {} block so it covers more of the VM initialization
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:23:00 +0100 |
Matthew Wild |
Add test __index handler to catch use of nil globals
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:21:54 +0100 |
Matthew Wild |
Support for __index metamethod
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:21:30 +0100 |
Matthew Wild |
Add LValue.setMetatable()
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:20:58 +0100 |
Matthew Wild |
Pass vm as 'this' to native functions
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:20:35 +0100 |
Matthew Wild |
More reliable detection of when we're at a native/Lua call boundary
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:19:34 +0100 |
Matthew Wild |
LValueFromValue handles undefined and objects/arrays
|
file |
diff |
annotate
|
Fri, 28 May 2010 02:18:53 +0100 |
Matthew Wild |
Give LValue precall() and call() methods, give functions a vm property.
|
file |
diff |
annotate
|
Mon, 24 May 2010 15:22:45 +0100 |
Matthew Wild |
Show return values on exit
|
file |
diff |
annotate
|
Mon, 24 May 2010 15:22:29 +0100 |
Matthew Wild |
Support for return values from LVM.call()
|
file |
diff |
annotate
|
Mon, 24 May 2010 14:12:14 +0100 |
Matthew Wild |
Merge backout
|
file |
diff |
annotate
|
Mon, 24 May 2010 14:08:50 +0100 |
Matthew Wild |
Backed out changeset 741b953fcc5f (premature optimisations == bad)
|
file |
diff |
annotate
|
Mon, 24 May 2010 13:42:34 +0100 |
Matthew Wild |
Exit with failure code on error
|
file |
diff |
annotate
|
Mon, 24 May 2010 12:55:03 +0100 |
Matthew Wild |
Give LFunctions a vm property
|
file |
diff |
annotate
|
Mon, 24 May 2010 12:54:20 +0100 |
Matthew Wild |
Localize instructions and reg from frame
|
file |
diff |
annotate
|
Sun, 23 May 2010 19:54:45 +0100 |
Matthew Wild |
Split LVM.run() into LVM.call()/LVM.run()
|
file |
diff |
annotate
|
Sun, 23 May 2010 17:31:57 +0100 |
Matthew Wild |
Implement OP_TEST and OP_JMP
|
file |
diff |
annotate
|
Sun, 23 May 2010 17:31:41 +0100 |
Matthew Wild |
Implement OP_LOADBOOL
|
file |
diff |
annotate
|
Sun, 23 May 2010 17:31:15 +0100 |
Matthew Wild |
Initialise all stack slots to nil when calling a chunk
|
file |
diff |
annotate
|
Sun, 23 May 2010 17:30:43 +0100 |
Matthew Wild |
Allow LValues with a value of 'false' to be create (it was converted to 'null')
|
file |
diff |
annotate
|
Sun, 23 May 2010 13:48:39 +0100 |
Matthew Wild |
Implement OP_SELF
|
file |
diff |
annotate
|
Sun, 23 May 2010 13:48:29 +0100 |
Matthew Wild |
Fix for error handling to handle string exceptions
|
file |
diff |
annotate
|
Sun, 23 May 2010 13:28:45 +0100 |
Matthew Wild |
OP_FORPREP, OP_FORLOOP: Support for numerical for loops
|
file |
diff |
annotate
|
Sun, 23 May 2010 13:28:23 +0100 |
Matthew Wild |
Instantiate a new LValue in OP_LOADK, otherwise "constants" aren't so constant...
|
file |
diff |
annotate
|
Sun, 23 May 2010 13:27:36 +0100 |
Matthew Wild |
Fix off-by-one in calculating the value of sBx
|
file |
diff |
annotate
|
Sun, 23 May 2010 13:26:51 +0100 |
Matthew Wild |
Print sBx field in bytecode dump (for debugging)
|
file |
diff |
annotate
|
Sun, 23 May 2010 12:46:56 +0100 |
Matthew Wild |
Couple of fixes for last commit
|
file |
diff |
annotate
|
Sun, 23 May 2010 12:46:02 +0100 |
Matthew Wild |
Remove rawExceptions flag, always print exception's stack trace if it has one
|
file |
diff |
annotate
|
Sun, 23 May 2010 02:38:45 +0100 |
Matthew Wild |
Support for OP_NEWTABLE, OP_GETTABLE, OP_SETTABLE
|
file |
diff |
annotate
|
Sun, 23 May 2010 02:29:04 +0100 |
Matthew Wild |
New LValueFromValue() to convert from any Javascript value (almost) to a LValue
|
file |
diff |
annotate
|
Sat, 22 May 2010 20:14:33 +0100 |
Matthew Wild |
Implement OP_SETUPVALUE \o/
|
file |
diff |
annotate
|
Sat, 22 May 2010 20:08:03 +0100 |
Matthew Wild |
Add new debug option - rawExceptions - to prevent catching exceptions thrown by the VM, use for debugging the VM.
|
file |
diff |
annotate
|
Sat, 22 May 2010 20:07:05 +0100 |
Matthew Wild |
It's required to insert the new function into the stack before processing its upvalue instructions, in case it refers to itself.
|
file |
diff |
annotate
|
Sat, 22 May 2010 20:05:58 +0100 |
Matthew Wild |
Remove some, hmm, "debugging" code :)
|
file |
diff |
annotate
|
Sat, 22 May 2010 17:41:17 +0100 |
Matthew Wild |
Remove some accidentally-committed debug output
|
file |
diff |
annotate
|
Sat, 22 May 2010 17:37:02 +0100 |
Matthew Wild |
Switch from JSON.stringify for debug output to sys.inspect which doesn't bail out on circular references
|
file |
diff |
annotate
|
Sat, 22 May 2010 17:33:43 +0100 |
Matthew Wild |
Support for upvalues in functions \o/ implemented OP_GETUPVAL, and a stub for OP_SETUPVAL.
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 04:15:59 +0100 |
Matthew Wild |
OP_RETURN: Support for return values from Lua functions \o/
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 04:15:23 +0100 |
Matthew Wild |
Support for B==0 in OP_CALL (signifies params are to top of the stack)
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 03:07:10 +0100 |
Matthew Wild |
Fix OP_RETURN to update this.frame
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 03:06:46 +0100 |
Matthew Wild |
Implement OP_CALL for Lua functions (no return values yet)
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 03:05:52 +0100 |
Matthew Wild |
Implement basic OP_CLOSURE (no support for upvalues yet)
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 03:05:24 +0100 |
Matthew Wild |
Add chunk property to LFunction to show which chunk it came from
|
file |
diff |
annotate
|
Wed, 07 Apr 2010 02:46:56 +0100 |
Matthew Wild |
Support for reading all fields in the chunk (including function prototypes, required for OP_CLOSURE)
|
file |
diff |
annotate
|
Tue, 06 Apr 2010 19:27:28 +0100 |
Matthew Wild |
Initial stab at reading Number constants from bytecode
|
file |
diff |
annotate
|
Tue, 06 Apr 2010 14:51:25 +0100 |
Matthew Wild |
Throw error on unhandled opcodes
|
file |
diff |
annotate
|
Tue, 06 Apr 2010 14:51:06 +0100 |
Matthew Wild |
Use new notation for accessing instruction fields
|
file |
diff |
annotate
|
Tue, 06 Apr 2010 14:49:52 +0100 |
Matthew Wild |
Add a bytecode interpreter \o/
|
file |
diff |
annotate
|
Tue, 06 Apr 2010 14:47:21 +0100 |
Matthew Wild |
Add debugMode switch
|
file |
diff |
annotate
|
Tue, 06 Apr 2010 14:46:30 +0100 |
Matthew Wild |
Add errors for when trying to index non-tables
|
file |
diff |
annotate
|
Mon, 05 Apr 2010 17:23:18 +0100 |
Matthew Wild |
Implement OP_SETGLOBAL
|
file |
diff |
annotate
|
Mon, 05 Apr 2010 17:14:58 +0100 |
Matthew Wild |
Print error on error
|
file |
diff |
annotate
|
Mon, 05 Apr 2010 17:14:36 +0100 |
Matthew Wild |
Return nil for non-existent table keys
|
file |
diff |
annotate
|
Mon, 05 Apr 2010 17:14:09 +0100 |
Matthew Wild |
Throw an error if trying to call a non-function
|
file |
diff |
annotate
|
Mon, 05 Apr 2010 17:03:06 +0100 |
Matthew Wild |
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.
|
file |
diff |
annotate
|
Sun, 04 Apr 2010 21:08:23 +0100 |
Matthew Wild |
Style fix
|
file |
diff |
annotate
|
Sun, 04 Apr 2010 21:02:16 +0100 |
Matthew Wild |
Initial commit
|
file |
diff |
annotate
|