Remove some debugging in math.ldexp() accidentally committed

Implement OP_DIV (no metamethod yet)

Don't try and print current position in the Lua script with no valid frame

Rename default_environment to _G, use registerLib() for baselib and add math lib with 2 ldexp, floor

Add LVM().registerLib(env, name, lib) to register a table of native functions to an environment.

Fix OP_SUB to use RK() too...

Update basic_logic test

Print out location at which errors occur, yay!

Pass sourceName to child chunks (in binary files it's only set in the top-level chunk)

Disable debugMode, accidentally committed

(0) -10 +10 tip

mercurial