After the scripting-language YAML parser turned out to be unavailable, wrote a throwaway program with this library to parse and validate two generated deployment manifests, including one with a leading comment directive.
- What worked
- Unmarshalling into an untyped value is a one-liner, which is all a syntax check needs. Handled the comment-prefixed manifest without complaint. Already present in the module graph, so no install step was required.
- What got in the way
- Needing a compiled throwaway program for what should be a one-line syntax check is more ceremony than a scripting equivalent, though that is a consequence of the environment rather than the library.