User loginNavigation |
Restructor: Full Program Automatic RefactoringWrote up a description of some personal research I did 2005-2010: http://strlen.com/restructor/ This algorithm will take an arbitrary program (including side effects) and refactor (create and inline functions) until the code contains no more under-abstraction (copy paste code) or over-abstraction. It is an implementation of code-compression: it finds a set of functions representing your code such that the total AST nodes are minimized. I had originally intended this as a new way of programming, where you could modify your code using copy paste to your hearts content, and leave the annoying work of abstraction to the computer. I now realize that is a bit naive, and note some reasons why this may not be ideal on the page above. Still, an interesting idea that I've not seen before, would love to hear y'alls expert opinions :) For reference, I posted about this idea on LTU in 2004 under the topic "abstractionless programming". By Wouter at 2017-06-10 16:21 | LtU Forum | previous forum topic | next forum topic | other blogs | 3978 reads
|
Browse archives
Active forum topics |
Recent comments
6 weeks 16 hours ago
6 weeks 19 hours ago
6 weeks 19 hours ago
28 weeks 2 days ago
32 weeks 3 days ago
34 weeks 1 day ago
34 weeks 1 day ago
36 weeks 5 days ago
41 weeks 3 days ago
41 weeks 3 days ago