https://github.com/milahu/yaml-parse-tree-config-c
how to parse a YAML config file in C code
https://github.com/milahu/yaml-parse-tree-config-c
c config example parse simple yaml
Last synced: 10 months ago
JSON representation
how to parse a YAML config file in C code
- Host: GitHub
- URL: https://github.com/milahu/yaml-parse-tree-config-c
- Owner: milahu
- License: cc0-1.0
- Created: 2021-04-16T22:15:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-17T16:03:03.000Z (almost 5 years ago)
- Last Synced: 2025-02-06T09:37:11.555Z (12 months ago)
- Topics: c, config, example, parse, simple, yaml
- Language: C
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# yaml-parse-tree-config-c
how to parse a YAML config file in C code
using an [glib nary tree](https://developer.gimp.org/api/2.0/glib/glib-N-ary-Trees.html)
as intermediary data structure
as shown by [mk-fg @ stackoverflow.com](https://stackoverflow.com/a/621451/10440128)
## install
with the nix package manager, install is as simple as
```txt
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
```
## use case
https://github.com/abba23/spotify-adblock-linux/issues/119