SWIG is The Simplified Wrapper and Interface Generator.
SWIG is used to create the interface layer which goes between a scripting language such as Python or Perl and C or C++ code.
Subversion uses SWIG for the Perl, Python and Ruby language bindings.