Simplified Wrapper and Interface Generator (original) (raw)

Welcome to SWIG

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby. The list of supported languages also includes non-scripting languages such as C#, D, Go language, Java including Android, Lua, OCaml, Octave, Scilab and R. Also several interpreted and compiled Scheme implementations (Guile, MzScheme/Racket) are supported. SWIG is most commonly used to create high-level interpreted or compiled programming environments, user interfaces, and as a tool for testing and prototyping C/C++ software. SWIG is typically used to parse C/C++ interfaces and generate the 'glue code' required for the above target languages to call into the C/C++ code. SWIG can also export its parse tree in the form of XML. SWIG is free software and the code that SWIG generates is compatible with both commercial and non-commercial projects.

Recent NewsSWIG RSS Feed

2024/10/20 - SWIG-4.3.0 released

SWIG-4.3.0 summary:

2024/02/24 - SWIG-4.2.1 released

SWIG-4.2.1 is primarily a stability and regression fix release, but also includes:

2023/12/31 - SWIG-4.2.0 released

SWIG-4.2.0 summary:

2022/11/30 - SWIG-4.1.1 released

SWIG-4.1.1 summary:

2022/10/24 - SWIG-4.1.0 released

SWIG-4.1.0 summary:

2020/06/08 - SWIG-4.0.2 released

SWIG-4.0.2 summary:

2019/08/21 - SWIG-4.0.1 released

SWIG-4.0.1 summary:

2019/04/28 - SWIG-4.0.0 released

SWIG-4.0.0 summary

2017/01/28 - SWIG-3.0.12 released

SWIG-3.0.12 summary:

2016/12/29 - SWIG-3.0.11 released

SWIG-3.0.11 summary:
- PHP 7 support added.
- C++11 alias templates and type aliasing support added.
- Minor fixes and enhancements for C# Go Guile Java Javascript Octave PHP Python R Ruby Scilab XML.

More news


Feedback and questions regarding this website as well as patches for improvement should be raised on the SWIG www Github project.

Last modified : Mon Oct 7 20:29:14 2024