1. In a programmable digital computer, a method for generating a synchronized set of translation modules containing program code for executing on a native platform a corresponding set of interface modules written for an emulated platform, the method comprising: identifying the set of interface modules written for the emulated platform and requiring translation for the second platform; for all interface modules in the set, sequentially selecting a source-code file representing one of the set of interface modules as a current module; extracting from the current module data representing a group of functions exported by the current module; matching the current-module data to a group of function templates, at least some of the templates containing generalized program code written for the native platform and performing functions from the emulated platform; selecting at least one of the templates in response to the matching step; and for each template selected, converting the generalized program source code in the template into personalized program code constituting at least part of the translation module for the current module.