yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
To get a feel for how it can be used, see How To Parse A Document or How to Emit YAML.
Recent Release
yaml-cpp 0.2.4 has been released! Changes:
- The emitter now emits arbitrary UTF-8, either escaped or as-is.
- Bug fixes
- Silly hidden OS X-generated files removed
How to Build
The build system is a perhaps a little unconventional, so it's worth explaining on the front page. The library uses CMake to support cross-platform building. In a UNIX-like system, the basic steps to build are:
1. Download and install CMake (if you don't have root privileges, just install to a local directory, like ~/bin)
2. From the source directory, run:
mkdir build cd build cmake ..
and then the usual
make make install
3. To clean up, just remove the 'build' directory.