Thanks - I’ve never looked at the things that come with anaconda, so completely missed that. Coming at it mainly from the perspective of mapping yaml into some C++ objects without involving python: libyaml seems to be a low level C library. Its parser emits a stream of events as it is processing the document rather than handing over some sort of DOM object, so I think it’s likely to be significantly more painful to use than yaml-cpp. The latter has a pretty nice looking API (judging by a quick skim of
https://code.google.com/p/yaml-cpp/wiki/Tutorial).
But it sounds like the better thing would be to put a python driver and/or interface around the partitioning code to avoid introducing yet another dependency that may behave slightly differently to something we already have.
Daniel - besides the partitioner, is there any other C++ that reads config files?