Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why does it suck, because it's doing a lot of allocations?


No. You have a fair point, but not my biggest gripe. It's much more fundamental to what YAML is.

YAML allows YamlNodes as keys in a map (aka complex keys). E.g.

    ? [ a, b]
    : "complex key, scalar value"

You asked it for YAML parser and it gave you a shitty JSON parser.

Also this is the most banal thing about YAML, something that should be obvious just browsing the examples. And I gave it test suite and link to YAML spec.

Most work in YAML is around super obscure corner cases.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: