Comment on Sanity checking an idea for editing yaml without wanting to throw my laptop out the window
flashgnash@lemm.ee 7 months agoNo, 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)
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.
flashgnash@lemm.ee 7 months ago
My plan is not to have multiple files at all, or at least if there is a second one have it be temporary
The problem with the approach of having an intermediary format is I need to create the intermediate format, and given yaml starts for yet another markup language that doesn’t seem like a good idea (also a ton of effort to reinvent the wheel)