On Tue, Apr 9, 2013 at 11:37 PM, John Benediktsson <mrj...@gmail.com> wrote: >> Not sure if such a tool already exists, though. > > > We have a lint tool (USE: lint) that looks for duplicate code paths, it > usually gives good results, but sometimes maybe misses a nested structure > that could be factored out with some thought. > > I think after 0.96 is released, when the new parser design gets finished I > imagine we'll make more progress towards what you are describing. At the > moment, though, it still requires some thought and manual editing.
Yeah. Not necessarily demanding the feature. Just wondering whether the idea is theoretically possible. At some level, refactoring of code seems like a really complicated case of pattern recognition, which an algorithm should be capable of doing. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk