No, I was thinking of actual JSON because it makes it easier to write a plugin (just use built in libraries to import and export configurations)
Comment on Sanity checking an idea for editing yaml without wanting to throw my laptop out the window
girsaysdoom@sh.itjust.works 7 months agoI think the difference is that it sounds they are just looking for something JSON-like, just enough to edit and save a change. It might not be to be valid.
flashgnash@lemm.ee 7 months ago
girsaysdoom@sh.itjust.works 7 months ago
Oh, my mistake. Disregard me then.
flashgnash@lemm.ee 7 months ago
Not a terrible idea to add bits into the JSON but it makes it much harder to program, going for a quick and easy fix here rather than writing my own parser
girsaysdoom@sh.itjust.works 7 months ago
Maybe a tilde file would work? You could add all of the relevant data there and when translating between one language or the other it would prune any comments or unsupported features as the output is generated.
wisplike_sustainer@suppo.fi 7 months ago
So, a new not-a-markup-language, only human readable and editable, and objectively better than its predecessor? Well, it’s all according to tradition. I believe YAML got its start the same way.
girsaysdoom@sh.itjust.works 7 months ago
That’s hilarious. I didn’t know that