loading...

Discussion on: Stop Using YAML

Collapse
arnauldvm profile image
Arnauld Van Muysewinkel

Any parser implementing the specification will consistently parse. What kind of inconsistencies are you talking about?

Collapse
rprije profile image
rprije

This link summarises some of them:

github.com/cblp/yaml-sucks

The problem is the language specification is poorly defined and full of irregularity and corner cases leading to inconsistent parsers.

Much of the problem comes from YAML allowing unquoted strings giving them nothing to clearly distinguish them from other data types. This leaves parsers in the awkward situation of needing to decide through complicated rules whether a token is a string or something else.