Also running LuaJIT with -jdump will dump bytecode and compiler IR I believe.
Reply on news.ycombinator.com