Follow-up Comment #10, patch #4739 (project freeciv):
Getting further off-topic, but I suspect that we can avoid a lot of the pain
involved with freeciv-ruledit if we are careful to make ruleset format changes
backwards-compatible (so freeciv-ruledit can read the old format, and write
the new one). Also, if we can convince freeciv-ruledit to format things
nicely and write all the comments, the cost of having used it should be
significantly reduced.
To me, the former is mostly about using RS_DEFAULT_foo more; removing all the
magic numbers; providing warnings, rather than errors, on missing information;
and striving for programmatic means to generate more complex metastructures
(e.g. conversion from explicit singular dependency to reqs, use of extras
structures).
The latter is just a matter of tweaking rulesave: I'm unsure whether this
should be done by injecting the comments into the code, or using a template:
perhaps a combination of the two.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4739>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev