Fix math.frexp() and add more tests (thanks Florob, Link Mauve, xnyhps) default tip

Add math.frexp() and tests (many thanks to Florob and Link Mauve!)

Implement basic string.format() supporting %d/%s

baselib: Implement basic message-only error()

Implement string.find (mostly) and string.sub

Replace error reporting code with calls to LVM.traceback()

Add LVM.traceback() function

OP_SETLIST: Implement support for B==0 (to top of stack)

OP_RETURN: Pad out results with nils if we get less results than expected

OP_TAILCALL: Fall through to OP_CALL for native functions

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

(0) -100 -15 tip

mercurial