CableSwig is used to create interfaces (i.e. 'wrappers') to interpreted languages such as Tcl and Python. It was created to produce wrappers for ITK because the toolkit uses C++ structures that SWIG cannot parse (deeply nested template instantiations). CableSwig is a combination tool that uses GCC_XML as the C++ parser. The input files are Cable style input files. The XML produced from the Cable/GCC_XML input files are then parsed and fed into a modified version of SWIG. SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. It is used to generate the language bindings to the target language. Currently, Tcl and Python are supported.
CableSwig is used to create interfaces (i.e. 'wrappers') to interpreted languages such as Tcl and Python. It was created to produce wrappers for ITK because the toolkit uses C++ structures that SWIG cannot parse (deeply nested template instantiations). CableSwig is a combination tool that uses GCC_XML as the C++ parser. The input files are Cable style input files. The XML produced from the Cable/GCC_XML input files are then parsed and fed into a modified version of SWIG. SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. It is used to generate the language bindings to the target language. Currently, Tcl and Python are supported.
To install cableswig, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install cableswig
To see what files were installed by cableswig, run:
port contents cableswig
To later upgrade cableswig, run:
sudo port selfupdate && sudo port upgrade cableswig
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.