If I wanted to turn a Java game into Lua, how could I do it? I'm thinking that you could have a program read the assembly language behind two programming languages, find the patterns, attach them to functions, and then convert the code accordingly. Has it been done, attempted, or theorized? What would be required to achieve this? 
Translation of a project from one language to another
source code;languages;automation;translate;automatic programming