Grecs is a library for parsing structured configuration files from C programs. A structured configuration file has hierarchical structure, with block statements enclosing lower-level statements. Such configurations files are used by many programs, such as, e.g. Bind or Dico.
Grecs provides primitives for parsing such files into an internal tree-like structure and for basic operations on such structures. These operations include value lookups by keyword paths, traversing trees recursively, joining several trees together, reductions, etc.
It can be used both as a git submodule and as a standalone library.