The latest change, adding in file support, was a massive incremental step getting the parser to use std.io.StreamSource instead of a []u8 (actually a wrapper around it). The next step is to drop all seekBy and seekTo calls which should enable parsing from stdin.