I know of ocaml-yaml, but it relies on a C FFI binding. I would like to avoid this in order to ensure I can compile to JS and maintain consistent behaviour. (Depending on some JS-native yaml library for JS-targeted builds would work for 99% of cases, but variance in yaml handling between it and ocaml-yaml would inevitably cause all sorts of headaches, e.g. https://arp242.net/yaml-config.html#its-not-portable)
So, is anyone aware of a YAML library similar to ocaml-yaml that doesn’t rely upon any FFI bindings?