gintool / gin

GI in No Time - a Simple Microframework for Genetic Improvement
MIT License
43 stars 20 forks source link

Allow chaining of edits in patch #103

Open sandybrownlee opened 3 months ago

sandybrownlee commented 3 months ago

Currently, all edits in a patch are created with respect to the original sourcefile. This preserves IDs for each edit; multiple edits can be applied to a sourcefile within a patch, but not touching the same locations. It would be good to have the option to build up edits; this probably means reconstructing the SourceFileTree after each edit.apply() in patch.apply().