Implement OP_VARARG

OP_RETURN: Shrink stack on return

OP_CALL: Don't push varargs into called function's stack

Fix OP_CONCAT: missing break; and should supply empty separator to join()

assert(): Throw "assertion failed" message when none supplied

"Implement" OP_CLOSE

Fix OP_FORLOOP to set the loop counter variable properly

Implement LValue.len() and OP_LEN (no metamethod yet)

Switch to [] for representing tables (for now)

Don't use this.LValue() inside the VM - it's for JS types only

(0) -100 -10 +10 tip

mercurial