DEV Community

Discussion on: Stop Using YAML

arnauldvm profile image
Arnauld Van Muysewinkel

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

rprije profile image
rprije • Edited on

This link summarises some of them:

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.