moved parsing helpers into parser
moved helpers for parsing
pre-error-handling
parsing text