work towards incremental Attoparsec style parsing