secana@programming.dev to Rust@programming.devEnglish · 2 months agoWhat are you working on this week? (Sep. 29, 2024)message-squaremessage-square13fedilinkarrow-up125file-text
arrow-up125message-squareWhat are you working on this week? (Sep. 29, 2024)secana@programming.dev to Rust@programming.devEnglish · 2 months agomessage-square13fedilinkfile-text
minus-squarewebbureaucrat@programming.devlinkfedilinkarrow-up7·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.
minus-squarewebbureaucrat@programming.devlinkfedilinkEnglisharrow-up4·2 months 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.