Home
Download
Documentation
People
Events
Links
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:
- Support for both extending Tcl with C++ modules and
embedding Tcl
in C++ applications.
- Possibility to expose free C++ functions as commands in Tcl.
- Possibility to define classes and class member functions,
visible
in Tcl in the style
similar to SWIG
wrappers.
- 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.