Ancestors

Written by federico :debian: on 2025-01-30 at 09:36

Don't use YAML for configuration files. A single incorrect whitespace is enough to break indentation making subtle configuration changes that are easy to miss.

=> More informations about this toot | More toots from federico3@oldbytes.space

Written by :So_happy_smiling_cat: kittyfailure on 2025-01-30 at 09:38

@federico3

=> More informations about this toot | More toots from cybertailor@wetdry.world

Written by sumanthvepa on 2025-01-30 at 09:39

@cybertailor @federico3

What would be a good alternative?

[#]JSON? #TOML?

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Written by :So_happy_smiling_cat: kittyfailure on 2025-01-30 at 09:52

@sumanthvepa @federico3 some standard key-value format (TOML, INI, JSON) for simple configs, and a custom lexer&parser to describe complex confuguration with clean and concise syntax

=> More informations about this toot | More toots from cybertailor@wetdry.world

Toot

Written by /etc/init.d/witch.navi on 2025-01-30 at 09:56

@cybertailor @sumanthvepa @federico3

i also recommend scfg: https://git.sr.ht/~emersion/scfg

=> More informations about this toot | More toots from navi@social.vlhl.dev

Descendants

Written by federico :debian: on 2025-01-30 at 11:08

@navi @sumanthvepa @cybertailor Wow, scfg looks pretty robust, with named/typed entities and especially if it allows dimensional analysis. It even has a proper BNF.

=> More informations about this toot | More toots from federico3@oldbytes.space

Written by arclight on 2025-01-30 at 11:30

@federico3 @navi @sumanthvepa @cybertailor Definitely looks interesting

=> More informations about this toot | More toots from arclight@oldbytes.space

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113916704345448435
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
298.6985 milliseconds
Gemini-to-HTML Time
0.97417 milliseconds

This content has been proxied by September (3851b).