add implementation of of_stream parser