Parser is complete, but has an impossible-to-find memory leak