A Lua parser written in JavaScript