20-09-2017 06:00 via eurekalert.org

System automatically modifies code for transfer to other programs

(Massachusetts Institute of Technology) Researchers at MIT's Computer Science and Artificial Intelligence Laboratory (CSAIL) have developed a new system that allows programmers to transplant code from one program into another. The programmer can select the code from one program and an insertion point in a second program, and the system will automatically make modifications necessary -- such as changing variable names -- to integrate the code into its new context.
Read more »