Support stream input on the parser.