A C++ library for interoperability between C++ and Tcl
SourceForge.net Logo

C++/Tcl is a library that allows to easily integrate C++ and Tcl.
If you write programs in both languages, you will find it to be extremely helpful.

The C++/Tcl library was inspired by the Boost.Python library and was designed to provide a similar interface.

Currently, the C++/Tcl library offers the following features:
  1. Support for both extending Tcl with C++ modules and embedding Tcl in C++ applications.
  2. Possibility to expose free C++ functions as commands in Tcl.
  3. Possibility to define classes and class member functions, visible in Tcl in the style similar to SWIG wrappers.
  4. Possibility to manipulate Tcl lists and objects from the C++ code.

The documentation Quick Start page presents simple examples of both extending Tcl with C++ module and embedding Tcl in a C++ application.