Skip to content

Commit

Permalink
Add Javascript. Add 3.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
wsfulton committed May 27, 2014
1 parent 4f638e1 commit af04c8b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
20 changes: 10 additions & 10 deletions compare.ht
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ SWIG Features
<h2>SWIG Features</h2>

<p>
This information is based on the SWIG-2.0.2 release.
This information is based on the SWIG-3.0.1 release.

<h3>Code Generation</h3>

SWIG currently generates wrapper code for nineteen different target languages:
SWIG currently generates wrapper code for twenty different target languages:

<ul>
<li>Allegro CL
Expand All @@ -19,6 +19,7 @@ SWIG currently generates wrapper code for nineteen different target languages:
<li>Go
<li>Guile
<li>Java
<li>Javascript
<li>Lua
<li>Modula-3
<li>Mzscheme
Expand All @@ -36,12 +37,12 @@ SWIG currently generates wrapper code for nineteen different target languages:
In addition to this, the parse tree can be exported as XML and Lisp s-expressions.
Experimental work is also available for a Pike module.

<h3>ANSI C</h3>
<h3>ISO C</h3>

SWIG is capable of wrapping all of ANSI C. Features include:
SWIG is capable of wrapping all of ISO C99. Features include:

<ul>
<li>Handling of <em>all</em> ANSI C datatypes.
<li>Handling of <em>all</em> ISO C datatypes.
<li>Global functions, global variables, and constants.
<Li>Structures and unions.
<li>Pointers.
Expand All @@ -52,9 +53,9 @@ SWIG is capable of wrapping all of ANSI C. Features include:
<li>Enums.
</ul>

<h3>ANSI C++</h3>
<h3>ISO C++</h3>

SWIG provides wrapping support for almost all of ANSI C++.
SWIG provides wrapping support for ISO C++11.

<ul>
<Li>All C++ datatypes.
Expand All @@ -67,15 +68,14 @@ SWIG provides wrapping support for almost all of ANSI C++.
<li>Static members.
<li>Namespaces (including using declarations, aliases, nesting, etc.)
<li>Templates
<li>Nested classes
<li>Member templates
<li>Template specialization and partial specialization.
<li>Smart pointers
<li>C++ library support for strings and the STL.
<li>The majority of the new C++11 standard features.
</ul>

The only major C++ feature not currently supported by SWIG is the
wrapping of nested classes.

<p>
C++ users who rely on advanced template programming techniques
(e.g., template meta-programming) should also be aware that SWIG
Expand Down
7 changes: 4 additions & 3 deletions compat.ht
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ Support for R was added in swig-1.3.30.<br>
Support for Octave was added in swig-1.3.35.<br>
Support for the Go language was added in swig-2.0.1.<br>
Support for D was added in swig-2.0.2.<br>
Support for Javascript was added in swig-3.0.1.<br>
<p>

Any newer versions of these languages should be assumed to be
supported unless otherwise indicated.

There is also <a href="http://www.ultravioletconsulting.com/projects/swigjs">SwigJS</a>, a JavaScript module for SWIG
and <a href="http://efsa.sourceforge.net/archive/cozzi/swigeiffel.htm">SWIGEiffel</a> for Eiffel.
There is also a SWIG Eiffel module -
<a href="http://efsa.sourceforge.net/archive/cozzi/swigeiffel.htm">SWIGEiffel</a>.

<h3> Compilation Requirements </h3>

Expand All @@ -91,5 +92,5 @@ least one of the supported scripting languages to use it (or else it
isn't going to be very useful). SWIG does not depend upon any of the
supported scripting languages for its own compilation. Finally,
although SWIG is partly written in C++, a C++ compiler is not required to use
SWIG--it works just fine with both ANSI C and C++.
SWIG--it works just fine with both ISO C and C++.

3 changes: 3 additions & 0 deletions default.side
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
<tr><td><a href="http://golang.org">Go language</a></td></tr>
<tr><td><a href="http://www.gnu.org/software/guile/guile.html">Guile</a></td></tr>
<tr><td><a href="http://java.sun.com">Java</a></td></tr>
<tr><td><a href="http://nodejs.org/">Javascript - Node.js</a></td></tr>
<tr><td><a href="https://developers.google.com/v8/">Javascript - V8</a></td></tr>
<tr><td><a href="http://www.webkit.org/">Javascript - WebKit</a></td></tr>
<tr><td><a href="http://www.lua.org">Lua</a></td></tr>
<tr><td><a href="http://racket-lang.org/">MzScheme/Racket</a></td></tr>
<tr><td><a href="http://www.ocaml.org/">Ocaml</a></td></tr>
Expand Down
4 changes: 2 additions & 2 deletions download.ht
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Download SWIG
<h3>The Latest Release</h3>

<p>
The latest release is <a href="http://prdownloads.sourceforge.net/swig/swig-3.0.0.tar.gz">swig-3.0.0</a>.
The latest release is <a href="http://prdownloads.sourceforge.net/swig/swig-3.0.1.tar.gz">swig-3.0.1</a>.
View the <a href="release.html">release notes</a>.

<p>
Windows users should download
<a href="http://prdownloads.sourceforge.net/swig/swigwin-3.0.0.zip">swigwin-3.0.0</a>
<a href="http://prdownloads.sourceforge.net/swig/swigwin-3.0.1.zip">swigwin-3.0.1</a>
which includes a prebuilt executable.

<p>
Expand Down
1 change: 1 addition & 0 deletions history.ht
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ handling of overloaded functions added.
<li>September 15, 2013. SWIG-2.0.11 released.
<li>February 9, 2014. SWIG-2.0.12 released.
<li>March 16, 2014. SWIG-3.0.0 released.
<li>May 27, 2014. SWIG-3.0.0 released.
</ul>

<p>
Expand Down
2 changes: 1 addition & 1 deletion index.ph
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Simplified Wrapper and Interface Generator
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
Perl, PHP, Python, Tcl and Ruby. The list of
Javascript, Perl, PHP, Python, Tcl and Ruby. The list of
<a href="compat.html#SupportedLanguages">supported languages</a> also includes
non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, CFFI, UFFI), D, Go language,
Java including Android, Lua, Modula-3, OCAML, Octave and R.
Expand Down

0 comments on commit af04c8b

Please sign in to comment.