Could somebody please point me in the direction of ZON parsing functionality in stdlib (I hope it’s there, where else would it be)?
I have found myself in need of a ‘config’ file format, and while I have used JSON, YAML, TOML and my own homegrown file formats in the past for this purpose, I think ZON is the obvious choice in Zig programs.
Upd: these seem to be relevant:
https://github.com/ziglang/zig/blob/master/lib/std/zig/Parse.zig
https://github.com/ziglang/zig/blob/master/lib/std/zig/Ast.zig
but for me they’re a ball of yarn I’d have to untangle. Not that I don’t want to learn (I do), but abstract syntax trees are not my primary focus right now, and so I would be grateful if I could just throw a ZON file at a function and get some form of parsed result in return.