Fri, 19 Nov 2010 19:42:25 +0000 |
Matthew Wild |
Add assert() to baselib, real tests possible at last
|
changeset |
files
|
Fri, 19 Nov 2010 19:41:57 +0000 |
Matthew Wild |
Add LValue.truth() to return whether a value is (not(false) and not(nil))
|
changeset |
files
|
Fri, 19 Nov 2010 19:28:48 +0000 |
Matthew Wild |
Fix OP_SETTABLE to use RK() helper
|
changeset |
files
|
Fri, 19 Nov 2010 19:24:23 +0000 |
Matthew Wild |
Add 2 new pass tests, add.lua and bool.lua
|
changeset |
files
|
Fri, 19 Nov 2010 19:22:40 +0000 |
Matthew Wild |
Fix type() in baselib to return an LValue
|
changeset |
files
|
Fri, 19 Nov 2010 19:22:20 +0000 |
Matthew Wild |
Fix for passing arguments to the entry call frame
|
changeset |
files
|
Fri, 19 Nov 2010 19:21:48 +0000 |
Matthew Wild |
Implement OP_EQ
|
changeset |
files
|
Fri, 19 Nov 2010 19:21:36 +0000 |
Matthew Wild |
Give LValue an equals() method, returns true/false if the value == the first argument (checks metamethod)
|
changeset |
files
|
Fri, 19 Nov 2010 16:57:32 +0000 |
Matthew Wild |
Fix native function return values for the new calling interface
|
changeset |
files
|
Fri, 19 Nov 2010 16:08:51 +0000 |
Matthew Wild |
Update all opcodes to use RK() that need it
|
changeset |
files
|
Fri, 19 Nov 2010 16:06:12 +0000 |
Matthew Wild |
Add new RK() helper and fix OP_ADD to use it (so it loads constants properly)
|
changeset |
files
|
Fri, 19 Nov 2010 16:05:36 +0000 |
Matthew Wild |
Fix OP_ADD code to use new LValue format
|
changeset |
files
|
Fri, 19 Nov 2010 16:04:51 +0000 |
Matthew Wild |
Support for __add metamethod
|
changeset |
files
|
Fri, 19 Nov 2010 16:04:30 +0000 |
Matthew Wild |
New Lua<->native function interface, simpler. Added type() to baselib.
|
changeset |
files
|
Fri, 19 Nov 2010 16:02:55 +0000 |
Matthew Wild |
Large overhaul - every LValue (and LBinaryChunk) now has a valid 'vm' property, so we know in which LVM to call it or its metamethods
|
changeset |
files
|
Fri, 19 Nov 2010 13:09:25 +0000 |
Matthew Wild |
Give LValue an add() method, to eventually respect metamethods
|
changeset |
files
|
Fri, 19 Nov 2010 04:05:19 +0000 |
Matthew Wild |
Change some decimal constants to hex for consistency
|
changeset |
files
|
Fri, 19 Nov 2010 03:51:13 +0000 |
Matthew Wild |
Shorten loop test a little so I don't have to wait so long...
|
changeset |
files
|
Fri, 19 Nov 2010 03:50:04 +0000 |
Matthew Wild |
Move the demo_account.lua test from fail to pass - yay!
|
changeset |
files
|
Fri, 19 Nov 2010 03:48:41 +0000 |
Matthew Wild |
Switch to sys.puts for all output for now, leaving browser compatibility for the moment.
|
changeset |
files
|
Fri, 19 Nov 2010 03:48:04 +0000 |
Matthew Wild |
Formalise the beginnings of a baselib, add setmetatable.
|
changeset |
files
|
Fri, 19 Nov 2010 03:47:22 +0000 |
Matthew Wild |
Add FIXME for something that works, but shouldn't...
|
changeset |
files
|
Fri, 19 Nov 2010 03:43:47 +0000 |
Matthew Wild |
splice != slice. Dear Javascript, this is only one reason for why I don't like you.
|
changeset |
files
|
Fri, 19 Nov 2010 03:43:03 +0000 |
Matthew Wild |
Correct off-by-one in return value limits
|
changeset |
files
|
Fri, 19 Nov 2010 03:42:17 +0000 |
Matthew Wild |
New interface for native Javascript functions called from Lua
|
changeset |
files
|
Fri, 19 Nov 2010 03:39:40 +0000 |
Matthew Wild |
Support for numbers in LValueFromValue()
|
changeset |
files
|
Fri, 19 Nov 2010 03:39:00 +0000 |
Matthew Wild |
Add LValue.toString()
|
changeset |
files
|
Fri, 19 Nov 2010 03:38:41 +0000 |
Matthew Wild |
Support for tables in __index
|
changeset |
files
|
Fri, 19 Nov 2010 03:38:18 +0000 |
Matthew Wild |
Implement OP_TESTSET
|
changeset |
files
|
Fri, 19 Nov 2010 03:37:51 +0000 |
Matthew Wild |
Implement OP_ADD, OP_SUB, OP_LT
|
changeset |
files
|
Tue, 26 Oct 2010 10:43:56 +0100 |
Matthew Wild |
Add tests/ to the repo
|
changeset |
files
|
Fri, 28 May 2010 02:23:39 +0100 |
Matthew Wild |
Move try {} block so it covers more of the VM initialization
|
changeset |
files
|
Fri, 28 May 2010 02:23:00 +0100 |
Matthew Wild |
Add test __index handler to catch use of nil globals
|
changeset |
files
|
Fri, 28 May 2010 02:21:54 +0100 |
Matthew Wild |
Support for __index metamethod
|
changeset |
files
|
Fri, 28 May 2010 02:21:30 +0100 |
Matthew Wild |
Add LValue.setMetatable()
|
changeset |
files
|
Fri, 28 May 2010 02:20:58 +0100 |
Matthew Wild |
Pass vm as 'this' to native functions
|
changeset |
files
|
Fri, 28 May 2010 02:20:35 +0100 |
Matthew Wild |
More reliable detection of when we're at a native/Lua call boundary
|
changeset |
files
|
Fri, 28 May 2010 02:19:34 +0100 |
Matthew Wild |
LValueFromValue handles undefined and objects/arrays
|
changeset |
files
|
Fri, 28 May 2010 02:18:53 +0100 |
Matthew Wild |
Give LValue precall() and call() methods, give functions a vm property.
|
changeset |
files
|
Mon, 24 May 2010 15:22:45 +0100 |
Matthew Wild |
Show return values on exit
|
changeset |
files
|
Mon, 24 May 2010 15:22:29 +0100 |
Matthew Wild |
Support for return values from LVM.call()
|
changeset |
files
|
Mon, 24 May 2010 14:12:14 +0100 |
Matthew Wild |
Merge backout
|
changeset |
files
|
Mon, 24 May 2010 14:08:50 +0100 |
Matthew Wild |
Backed out changeset 741b953fcc5f (premature optimisations == bad)
|
changeset |
files
|
Mon, 24 May 2010 13:42:34 +0100 |
Matthew Wild |
Exit with failure code on error
|
changeset |
files
|
Mon, 24 May 2010 12:55:03 +0100 |
Matthew Wild |
Give LFunctions a vm property
|
changeset |
files
|
Mon, 24 May 2010 12:54:20 +0100 |
Matthew Wild |
Localize instructions and reg from frame
|
changeset |
files
|
Sun, 23 May 2010 19:54:45 +0100 |
Matthew Wild |
Split LVM.run() into LVM.call()/LVM.run()
|
changeset |
files
|
Sun, 23 May 2010 17:31:57 +0100 |
Matthew Wild |
Implement OP_TEST and OP_JMP
|
changeset |
files
|
Sun, 23 May 2010 17:31:41 +0100 |
Matthew Wild |
Implement OP_LOADBOOL
|
changeset |
files
|
Sun, 23 May 2010 17:31:15 +0100 |
Matthew Wild |
Initialise all stack slots to nil when calling a chunk
|
changeset |
files
|
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')
|
changeset |
files
|
Sun, 23 May 2010 13:48:39 +0100 |
Matthew Wild |
Implement OP_SELF
|
changeset |
files
|
Sun, 23 May 2010 13:48:29 +0100 |
Matthew Wild |
Fix for error handling to handle string exceptions
|
changeset |
files
|
Sun, 23 May 2010 13:28:45 +0100 |
Matthew Wild |
OP_FORPREP, OP_FORLOOP: Support for numerical for loops
|
changeset |
files
|
Sun, 23 May 2010 13:28:23 +0100 |
Matthew Wild |
Instantiate a new LValue in OP_LOADK, otherwise "constants" aren't so constant...
|
changeset |
files
|
Sun, 23 May 2010 13:27:36 +0100 |
Matthew Wild |
Fix off-by-one in calculating the value of sBx
|
changeset |
files
|