This directory contains files for adding a new language to SWIG. While not entirely trivial, it is possible. Here's how to proceed : 1. Figure out how your target language interfaces with C. The complexity of this task often varies widely. 2. Edit the file template.cc to emit code matching the information gathered in step 1. Template.cc has about 900 lines of code in it, but you only need to change about 60 lines---almost all of which are printf() commands. Each line is prefaced with the macro _CHANGE_ so they are easy to find. 3. Edit template.h and choose a name for your new language. 4. Compile using the sample makefile. Note : adding a new language only requires the file swig.h and the library libswig.a. These are usually installed in /usr/local/include and /usr/local/lib when you install SWIG. In order to link, you need to use the same C++ compiler that was used to build SWIG (due to name mangling). To find out what compiler was used, type 'wrap -version'. Note : The template files should compile as is, but they will produce bogus wrapper code. Good luck!