Automatic Generation of Tcl Bindings for C and C++ Libraries



In the past few years Tcl has found widespread interest as a extensible scripting language. Numerous Tcl interfaces for a variety of C libraries have been created. While most of these language bindings have been created by hand, others have made use of dedicated code generators designed for the specific library. In this paper we present a tool for the automatic generation of Tcl language bindings for arbitrary C libraries. Moreover, the mapping of C++ class hierarchies to [incr Tcl] classes will be described.