DocumentCode
2494249
Title
A scripting language interface to C++ libraries
Author
Winroth, Harald
Author_Institution
Comput. Vision & Active Perception Lab., R. Inst. of Technol., Stockholm, Sweden
fYear
1997
fDate
28 Jul-1 Aug 1997
Firstpage
247
Lastpage
259
Abstract
The author discusses how one can generate wrapper code that allows existing C++ class libraries to be accessed from scripting languages such as Tcl and Perl. Previously suggested approaches to this problem are reviewed and compared. He points out some problems related to the C++ object model and the difficulties introduced by advanced C++ constructs such as templates, nested types, type definitions, temporaries, implicit casts, multiple inheritance and overloading. He argues that it is necessary to support all of these features, as they are used frequently in all modern C++ libraries. A new system called TIDE, which integrates C++ and Tcl, is presented and he describes the ideas behind its design. As an example, he shows how TIDE can be used for accessing the ISO C++ draft standard library
Keywords
application program interfaces; authoring languages; inheritance; software libraries; C++ class libraries; C++ object model; ISO C++ draft standard library; Perl; TIDE; Tcl; implicit casts; multiple inheritance; nested types; overloading; scripting language interface; templates; temporaries; type definitions; wrapper code generation; Computer vision; Graphical user interfaces; Graphics; ISO standards; Laboratories; Libraries; Productivity; Programming profession; Runtime; Tides;
fLanguage
English
Publisher
ieee
Conference_Titel
Technology of Object-Oriented Languages and Systems, 1997. TOOLS 23. Proceedings
Conference_Location
Santa Barbara, CA
Print_ISBN
0-8186-8383-X
Type
conf
DOI
10.1109/TOOLS.1997.654731
Filename
654731
Link To Document