3 ms·
I like how the openbsd project does it. They have a parse.y that sort of gets traded around and joins new projects. Nothing super formal but it does mean most
by somat 3y ago
I like how the openbsd project does it.
They have a parse.y that sort of gets traded around and joins new projects. Nothing super formal but it does mean most openbsd service configuration feels like each other. but each config is tailored to it's application. and being properly parsed the error messages can be better.
In fact that is my biggest beef about yaml, I mainly use it in the context of ansible, and the parsor usually has no clue where in the file the error actually is. You have to depend on remembering where you last edited to actually find the error. My other big problem with yaml is that the ansible context is trying very hard to make it a programing language... And while it is an okish config language it is a terrible programing language.
In fact this is a common problem with many complex environments. They want to try and push this complicated setup into a config file and claim "look it is easy, no programing required" when really what they have done is to push a programing situation into the worlds worst programing language. see also: xslt
- ChrisMarshallNY 3y ago> see also: xslt Not without a trauma therapist on speed-dial.
- 20after4 3y agoI get through most days without remembering that xslt exists and I like it that way.