webbureaucrat@programming.devtoRust@programming.dev•What are you working on this week? (Sep. 29, 2024)
7·
2 months agoI’m working on a fault-tolerant JSON5 parsing library in the service of a JSON5-to-JSON and JSON5-to-YAML transpiler.
My goal is to never write any more YAML ever again.
I am a YAML hater. The biggest thing about YAML that keeps biting me recently is this:
script: - echo "a key: a value"
throws parse errors because of the colon, even though it is inside a quoted string.
But there are lots of reasons to hate YAML.
Honestly, an underrated one to me is I just hate significant whitespace. I don’t want to use any language that supports it.