refactoring: mkParseCore