There's more than one way to do things | |
PerlMonks |
Re: Re: Re: Perl6 and Extreme Programmingby TheDamian (Vicar) |
on May 25, 2002 at 22:32 UTC ( [id://169317]=note: print w/replies, xml ) | Need Help?? |
It will be much easier to write a
refactoring engine in Perl 6 -- and here's why...
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.
In Section
Meditations
|
|