how to parse a YAML config file in C code
using an glib nary tree as intermediary data structure as shown by mk-fg @ stackoverflow.com
with the nix package manager, install is as simple as
git clone https://github.com/milahu/yaml-parse-tree-config-c.git
cd yaml-parse-tree-config-c
nix-build default.nix && ./result/bin/yaml-parse