Hacker News new | ask | show | jobs
by dasil003 4865 days ago
That's it, but you cheated :)

I had to spend half an hour debugging a bizarre side effect of that parsing to pinpoint the problem.

1 comments

That is utterly stupid isn't it, how could the designers of YAML count a capital "NO" as a key as False. Wow.

Edit, holy fuck all these are booleans:

y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF