text parser start of a parser. original done in JavaScript: https://github.com/sethshober/text-parser