3 ms·
You're complaining that there isn't good tooling around the config file format for a project that is described as "in its early development stages" and provides
by openasocket 9y ago
You're complaining that there isn't good tooling around the config file format for a project that is described as "in its early development stages" and provides "alpha releases". If you're talking about using this "while building business solutions on somebody else's dime" your getting way ahead of yourself. I'm sure they will expose a library for parsing and editing the config format before a general release.
- _wmd 9y agoI know reading is difficult, but I suggest you review the original question I initially replied to waaay back when. Besides that, this isn't a new config format, if a good solution for modifying it existed, it most certainly would have been written sometime by someone else in the now 47 year history of Scheme. Despite all the hate and presumed expertise on this tragic little subthread, nobody has been able to link to such a thing, or indeed offer any practical solution beyond "you should rewrite everything in Scheme" or "link against the compiler's parser", or "implement this algorithm I just came up with 10 minutes ago"
- openasocket 9y agoYou're right, I can't find a python library with the exact functionality you want. But a solution does exist, you would just have to write it yourself. It takes about 200 lines of python, less if you use a parser generator. But if you don't want to do that (nothing wrong with that! Why do work when you don't have to, after all), well then you'll have to either ask someone else to do it for you or just not use this project, assuming this functionality is critical for you. Or you could use sed or a templating system, up to you.
- _wmd 9y agoI have little doubt it could be written, but at risk of going blue in the face, this was irrelevant to the original question ("what do you dislike about this syntax?"). Never mind, 'truth' has won out in the end regardless, and I note for future that the presence of Lisp on a CV is fair reason to pause and reconsider.
- openasocket 9y ago"My first thought is how I'd parse, modify and write it back without losing user's comments, formatting, changes and suchlike. Is this some well understood format with libraries for common programming languages?" Sorry for trying to answer your question then...