News for hackers. Stuff that matters.
Re:Zig, parser combinators, and why they're awesome by ifreund on Wednesday March 10, 2021 @06:02PM (#26417667)
The zig standard library also has a ComptimeStringMap type for this use case which is used by the self hosted tokenizer for example.

https://github.com/ziglang/zig/blob/master/lib/std/comptime_...

Re:Zig, parser combinators, and why they're awesome by kristoff_it on Wednesday March 10, 2021 @06:06PM (#26417707)
Beat you by 3 full minutes :P