Streaming quattroshapes parser