OP_VARARG: Fix off-by-one

OP_GETUPVALUE: Clone original LValue

Create local function to use as chunk prototype

Better verification of function validity in LVM.call()

Indentation fix

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.

Implement OP_TAILCALL - the last opcode!

Add a whole bunch of tests I've been using for recent additions

(0) -100 -30 -10 -8 +8 +10 tip

mercurial