Explores implementing immediate mode JSON parsing in C, inspired by immediate mode UI libraries and compiler design. The approach tokenizes JSON using a C lexer and parses data structures directly without building an intermediate tree, similar to how the author's B compiler processes source code. Demonstrates creating a parser for a specific JSON schema that can report syntax and type errors during parsing, though it only handles the exact structure it's designed for rather than being a general-purpose JSON parser.
•2h 25m watch time
Sort: