Zig Parser Compiler Documentation Negatives not as fast as hand rolled(?) definitely not as fast as SIMD no streaming - slice input stops at first error tokens can't contain e.g. parsed numbers source locations must be recovered - can't live in token TODO what to do when progress stops? advances() lookup() - bridge between toking and parsing; looks up a parsed span against a keyword table or reparse(lower: Parser, upper: Parser) - parse, span, reparse refine() reparse suggests also rest - which gets all the remaining input; would allow e.g. switching grammar at the top level. rest() make sure we can parse at comptime how to parse e.g. YAML, Python? examples/indented.zig AST as JSON parsing non-text binaries?