classes for streaming parser with trivial hacky but working implementations