6 ms·
At least that language does not require quotes around almost every sequence of letters like JSON does. (Yes, I know, JSON is not a language, but people do some
by hollerith 7y ago
At least that language does not require quotes around almost every sequence of letters like JSON does.
(Yes, I know, JSON is not a language, but people do sometimes use it for things approximately as long and as complicated as a Nix expression.)
- k__ 7y agocough YAML cough
- marcosdumay 7y agoOh, man, let's not go there. It's a silly place.
- k__ 7y agoSomehow, right? But why isn't there an ML with the good parts of YAML, but without the bad parts?
- clhodapp 7y agoYAML (and TOML and even XML when it's being used in a tag-centric way instead of a text-centric way) are not markup languages. A markup language is one that allows you to assign meaningful annotations to regions within a chunk of textual content (e.g. "these three words are underlined", "this relates to footnote 3", etc.). YAML and TOML have both changed the meanings of their acronyms to try and distance themselves from their original misnamings as "markup languages".
- tannhaeuser 7y agoYep. Maven (ugh) even has switched off entity expansion, a basic feature of XML/SGML, in favour of their own ad-hoc ${property} syntax.
- marcosdumay 7y agoAnyway, the GP's question is a good one. Where are the configuration/serialization languages that import the only good parts of YAML? AFAIK, one can not subset YAML and get something coherent. But one can start from scratch and use its concepts. I imagine the languages are not there just because nobody got the time to do them.