add parse from input stream
Merge branch 'parse_istream'