Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Automated component creation for legacy C++ and fortran codes.

Conference ·
OSTI ID:975924

A significant amount of work has been spent creating component models and programming environments, but little support exists for automation in the process of creating components from existing codes. To entice users to adopt the component-based paradigm over traditional programming models, integration of legacy codes must be as simple and fast as possible, We present a system for automating the IDL generation stage of component development based on source code analysis of legacy C, C-t-4 and Fortran codes using the Program Database Toolkit. Together with IDL compilation tools such as Babel, we provide an alternative to hand-written IDL code for legacy applications and libraries. In addition to generating IDL, we propose an XML-based method for specifying meta-data related to type mapping and wrapper generation that can be shared between our tools and IDL compilers. The component model of choice for this work is the Common Component Architecture (CCA) using the Scientific Interface Definition Language (SIDL), though the concepts presented can be applied to other models.

Research Organization:
Los Alamos National Laboratory
Sponsoring Organization:
DOE
OSTI ID:
975924
Report Number(s):
LA-UR-01-6950
Country of Publication:
United States
Language:
English

Similar Records

Toward the Automated Generation of Components from Existing Source Code
Conference · Wed Dec 01 23:00:00 EST 2004 · OSTI ID:15014737

Language interoperability for high-performance parallel scientific components
Conference · Tue May 18 00:00:00 EDT 1999 · OSTI ID:14301

Preliminary Thoughts on Introducing Structs to SIDL/Babel: White Paper
Technical Report · Wed Jan 07 23:00:00 EST 2004 · OSTI ID:15009763