Make the parser return iterators.