Starting to refactor Typed Lua parser