When combined with Tk, you can also build graphical user interfaces. Rapid prototyping and debugging . For example, you might test a library with a collection of scripts or use the scripting interpreter as an interactive debugger. Since SWIG requires no modifications to the underlying C code, it can be used even if the final product does not rely upon scripting. Systems integration .
Scripting languages work fairly well for controlling and gluing software components together.
These modules can then be combined together to create new and interesting applications. Construction of scripting language extension modules . However, before doing this, you might want to do a search to see if someone else has already made such a module. Although there are a few similarities, the whole point of SWIG is to make it so you don't have to screw around with that stuff. If anything, it's much more of a rapid application development and prototyping tool.