-
公开(公告)号:EP2122464A1
公开(公告)日:2009-11-25
申请号:EP08724024.8
申请日:2008-02-26
发明人: CHENG, Stephen, Ming, Ko , POTANIN, Alex , ANDREAE, Christopher, Michael , ROBINSON, Simon, Marsh, David
IPC分类号: G06F9/45
摘要: A computer implemented method for automatically translating a first source code associated with a first programming language to a second source code associated with a second programming language wherein the first and second source codes are associated with the same functionality, the method comprising the steps of: parsing the first source code to form a program structure representation comprising a plurality of program structure elements associated with the first programming language, analysing the program structure elements, wherein the analysis includes the step of searching for at least one program structure element that has no direct associated representation that produces the same result in the second programming language, and transforming the program structure representation into the second source code based on said analysis.