On Thursday, 13 March 2014 at 17:08:05 UTC, Xavier Bigand wrote:
Le 13/03/2014 07:47, Walter Bright a écrit :
Maybe if changes are really simple a tool can help? Tools are
needed for such kind of refactoring can be done automatically.
For some old games I wrote a script converter cause we
completely broke the syntax (from XML to Lua) with a version of
our engine, we do that because news features of engine was
requested for next games updates.
It can appear like a time wasting, but it was fun to do.
It's difficult to have such a tool in D that can safely handle
all situations (mixins in particular make it particularly
difficult). Though something probably be made that can handle the
vast majority of situations after being confirmed by the user
that the changes are acceptable.