News for hackers. Stuff that matters.
Re:Bugs in the YAML specification by scrollaway on Monday September 05, 2016 @06:44AM (#12429375)
You can't create a serious serialization format that fails its primary job of serializing data.

What you implemented there isn't a serialization format, it's a SQL DSL. Any time you implement a DSL, the first question should always be: "Have you considered S-Exprs?". If s-exprs do the job, then you just saved yourself having to implement a ton of stuff, including 90% of a spec.

Re:Bugs in the YAML specification by jstimpfle on Monday September 05, 2016 @09:13AM (#12430055)
Well, the primary job of WSL isn't serializing arbitray binary data. And it doesn't fail there either, it only encourages clean syntax by default. But it can very easily be made to serialize anything.

The conventional wisdom is "All problems in computer science can be solved with another level of indirection". Nevertheless, as stated I will very likely add C-style string literals to the required set of datatypes.

As to "it's a SQL DSL". It's very much not. You missed the point. And S-Exprs is completely out of scope (no schema support, no nice and canonical syntax, etc.)