Give LValue an equals() method, returns true/false if the value == the first argument (checks metamethod)

Fix native function return values for the new calling interface

Update all opcodes to use RK() that need it

Add new RK() helper and fix OP_ADD to use it (so it loads constants properly)

Fix OP_ADD code to use new LValue format

Support for __add metamethod

New Lua<->native function interface, simpler. Added type() to baselib.

(0) -30 -10 -7 +7 +10 +30 tip

mercurial