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)

Initial stab at reading Number constants from bytecode

Throw error on unhandled opcodes

Use new notation for accessing instruction fields

Add a bytecode interpreter \o/

Add debugMode switch

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

mercurial