Abstract: A method and system for automatically converting source code from a first software language and platform to a second software language and platform. The method includes the steps of separating the source code of the first software language and platform into at least one element in at least one table, optimizing the element producing at least one optimized element, and rewriting the source code in the second software language and platform from the optimized element.