Le 14/06/2015 06:20, Sean P. DeNigris a écrit :
Thierry Goubier wroteThere is some code in SmaCC to handle that.Would it make sense to extract?
I'd try if it works for you first :) Code is there: https://github.com/ThierryGoubier/SmaCC/blob/d5371fbf3298fcf8a0053d5c122db76b08b0b7ca/SmaCC-Development.package/SmaCCSmalltalkCodeGenerator.class/instance/splitTree..st https://github.com/ThierryGoubier/SmaCC/blob/90257788f495cc8bb3900f64115cca8272a13c06/SmaCC-Development.package/SmaCCSmalltalkCodeGenerator.class/instance/splitSpecificRewriter.st https://github.com/ThierryGoubier/SmaCC/blob/90257788f495cc8bb3900f64115cca8272a13c06/SmaCC-Development.package/SmaCCSmalltalkCodeGenerator.class/instance/splitTree.toLimit..st Thierry