Simplified Wrapper and Interface Generator,SWIG是个帮助使用C或者C++编写的软件能与其它各种高级编程语言进行嵌入联接的开发工具。支持的语言有:
- Tcl 8.0 and newer versions.
- Python 1.5 and newer.
- Perl 5.003 or newer.
- Guile 1.3.4 and newer.
- Java JDK 1.1 and newer.
- Ruby.
- Mzscheme.
- PHP support was added in swig-1.3.11.
-
Objective Caml (Ocaml) and Pike support was added in swig-1.3.14.
- C# and the Chicken scheme compiler was added in swig-1.3.18.
-
Allegro CL and Modula-3 was added in swig-1.3.22.
-
Lua, CLISP and Common Lisp with UFFI was added in swig-1.3.26.
-
Common Lisp with CFFI was added in swig-1.3.28.
-
R was added in swig-1.3.30.
-
Octave was added in swig-1.3.35.
-
Go language was added in swig-2.0.1.
-
D was added in swig-2.0.2.