News for hackers. Stuff that matters.
Re:Why the fuck are we templating YAML? (2019) by khimaros on Tuesday January 23, 2024 @11:53AM (#39105951)
StrictYAML solves most if not all of these problems https://hitchdev.com/strictyaml/features-removed/
Re:Why the fuck are we templating YAML? (2019) by AndyKluger on Tuesday January 23, 2024 @01:01PM (#39107037)
StrictYAML is great (and the author is in these comments!), but ultimately it's one specific library, not a format spec, so to depend on it for a project you need every person/tool doing the writing/parsing to commit to use that library (and the programming language it was written for).

Again, it's a great project, but I wanted something similar that is a language-agnostic format specification, so moved on to using NestedText wherever I can.

Re:Why the fuck are we templating YAML? (2019) by hitchstory on Tuesday January 23, 2024 @01:42PM (#39107687)
It is on my to do list to make a spec and a language independent test suite but both of these things take time.
Re:Why the fuck are we templating YAML? (2019) by AndyKluger on Tuesday January 23, 2024 @04:59PM (#39110539)
I've asked you similar in the past in comments on this site, but: what do you find lacking in the NestedText spec that a new YAML-like format might do better? Why not just embrace NestedText for the task?
Re:Why the fuck are we templating YAML? (2019) by hitchstory on Tuesday January 23, 2024 @05:49PM (#39111076)
I dont know much about nested text im afraid.