secana@programming.dev to Rust@programming.devEnglish · 1 month agoWhat are you working on this week? (Sep. 29, 2024)message-squaremessage-square13fedilinkarrow-up120arrow-down10file-text
arrow-up120arrow-down1message-squareWhat are you working on this week? (Sep. 29, 2024)secana@programming.dev to Rust@programming.devEnglish · 1 month agomessage-square13fedilinkfile-text
minus-squarewebbureaucrat@programming.devlinkfedilinkarrow-up6·1 month 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.
minus-squarewebbureaucrat@programming.devlinkfedilinkEnglisharrow-up3·1 month agoI 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.
I’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.
An honorable goal 😀
What did YAML ever do to you?
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.