Check out the new USENIX Web site.

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


Wolfgang Heidrich
Computer Graphics Lab
University of Waterloo, Canada

Philipp Slusallek
Computer Graphics Group
Universitaet Erlangen-Nuernberg, Germany

Abstract

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.


Download the full text of this paper in ASCII (25,238 bytes) and POSTSCRIPT ( bytes) form.

To Become a USENIX Member, please see our Membership Information.