ideas2 icon indicating copy to clipboard operation
ideas2 copied to clipboard

24. Programming Language designed for machine refactoring - Refactoring equivalencies

Open publicsite opened this issue 3 years ago • 1 comments

I'm not sure if this 100% fits with this issue, but please take a look at:

https://github.com/publicsite/MavenCentralReconstruction and https://github.com/publicsite/mavenCentralReconstruction_exampleOutput This downloads all the sources for packages on maven central, and attempts to reconstruct the jars using both the binary jars and the decompiled source jars.

It downloads all the dependencies in one big tree, so if there is a specific piece of java software you want reconstructing, you can work on and fix the issues locally.

You could do this, for instance, by backporting code from the other versions.

The code is due to be updated soon.

Also I am working on something called 'real life package manager' but hasn't been released yet. It reminds me of what you said about 'people being a dependency'. I think such a tool may be useful for OSHW and business.

publicsite avatar Aug 31 '22 17:08 publicsite

Your project could be used to implement library mesh and refactoring equivalencies.

If we could do a search and replace of an API call site, we can automatically refactor code.

If the code is in one repository we can do refactorings to all the source at once. I wonder if IntelliJ can be used from the command line

samsquire avatar Sep 02 '22 20:09 samsquire