It will be much easier to write a
refactoring engine in Perl 6 -- and here's why...
in reply to Re: Re: Perl6 and Extreme Programming
in thread Perl6 and Extreme Programming
You'll be able to grab the parse-tree from the compiler before it's converted to op-codes. Or after it's been converted, but before it's been reduced, if you prefer. Once you have a structured representation of the code, refactoring is "merely" the application of standard mathematical tree/graph factoring and optimization techniques.