Support for B==0 in OP_CALL (signifies params are to top of the stack)

Fix OP_RETURN to update this.frame

Implement OP_CALL for Lua functions (no return values yet)

Implement basic OP_CLOSURE (no support for upvalues yet)

Add chunk property to LFunction to show which chunk it came from

Support for reading all fields in the chunk (including function prototypes, required for OP_CLOSURE)

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

mercurial