Post #834780
2026-03-14 02:22 UTC
Funny, “hand made” parser made with a bunch of examples slowly building up the parser and unit tests one by one. With debug info built into the generation tool, to capture any failing input. Then based on those making a bunch more synthetic examples. Now the parser is up to about 100KB of code with 1000+ generated unit tests and 20 real (once) failing input examples and 45 synthetic examples. Every time I see there’s a failure whilst using it, I just plop the example in and the parser updates.
Replies (0)
No replies.