a parser use yield whti python