That sounds like a good idea to me. I suggest YAML since it looks nice and allows comments.
XML is pretty verbose but handles anything. JSON looks better than XML but technically doesn't allow comments. I don't think INI files would support what crossfire needs. On Wed, Dec 8, 2021, 1:41 PM Nicolas Weeger <nicolas.wee...@laposte.net> wrote: > Hello. > > I'm wondering about replacing (some of) our home-made file formats by some > standard - json, xml, yaml, whatever, ideas welcome. > > My rationale is that it's a pain to change the parsing code each time we > want > to add something to an existing file. > > > Opinions? Flames? Blessings? > > > Best regards > > > Nicolas_______________________________________________ > crossfire mailing list > crossfire@metalforge.org > http://mailman.metalforge.org/mailman/listinfo/crossfire > IRC: http://crossfire.real-time.com/irc/index.html > Discord: http://crossfire.real-time.com/discord/index.html > Project Site: https://sourceforge.net/projects/crossfire/ > Wiki: http://wiki.cross-fire.org/ > Website: http://crossfire.real-time.com >
_______________________________________________ crossfire mailing list crossfire@metalforge.org http://mailman.metalforge.org/mailman/listinfo/crossfire IRC: http://crossfire.real-time.com/irc/index.html Discord: http://crossfire.real-time.com/discord/index.html Project Site: https://sourceforge.net/projects/crossfire/ Wiki: http://wiki.cross-fire.org/ Website: http://crossfire.real-time.com