PAT parser to some degree completed