added ParserInterface::parse method. closes #18