YamlReference (github) is a reference implementation of the YAML spec, meant to debug the spec and serve as a reference for implementors.