Lua parsing and pretty printing