Updates to web-page from 9/4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39361939f4
commit
748bf32e9a
8 changed files with 79 additions and 23 deletions
|
|
@ -21,7 +21,7 @@ languages with C/C++ code.
|
|||
<p>You might use SWIG in a number of ways:
|
||||
|
||||
<ul>
|
||||
<li><b>Building more interesting C/C++ programs</b>. Using SWIG, you can replace the main()
|
||||
<li><b>Building more powerful C/C++ programs</b>. Using SWIG, you can replace the main()
|
||||
function of a C program with a scripting interpreter from which you can control your
|
||||
application. This adds quite a lot of flexibility and makes it easier to build
|
||||
extensible programs. When combined with Tk, you can also build graphical user interfaces.
|
||||
|
|
@ -38,6 +38,13 @@ underlying C code, it can be used even if the final product does not rely upon s
|
|||
software components together. With SWIG, different C/C++ programs can be turned into
|
||||
scripting language extension modules. These modules can then be combined together
|
||||
to create new and interesting applications.
|
||||
|
||||
<p>
|
||||
<li><b>Construction of scripting language extension modules</b>. SWIG can
|
||||
be used to turn common C/C++ libraries into components for use in
|
||||
popular scripting languages. However, before doing this, you might
|
||||
want to do a search to see if someone else has already made
|
||||
such a module.
|
||||
</ul>
|
||||
|
||||
SWIG is sometimes compared to interface definition language (IDL)
|
||||
|
|
@ -59,6 +66,13 @@ and tweaking it a little bit.
|
|||
simply compile and run. You don't have to fill in any stubs or write
|
||||
special code as you do with RPC-like systems.
|
||||
|
||||
<p>
|
||||
<li><b>SWIG does not define a protocol nor is it a component
|
||||
framework.</b> SWIG does not define mechanisms or enforce rules
|
||||
regarding the way in which software components are supposed to
|
||||
interact with each other. All it does is provide the glue needed to
|
||||
hook C code to other languages.
|
||||
|
||||
<p>
|
||||
<li><b>Designed to work with existing C/C++ code</b>. SWIG requires little, if any, modifications
|
||||
to existing code. For the most part, it encourages you to keep a clean separation between
|
||||
|
|
@ -74,4 +88,9 @@ A number of <a href="doc.html">papers and tutorials</a> describing SWIG are avai
|
|||
You can also view a simple <a href="tutorial.html">tutorial</a> to see an
|
||||
example of SWIG in action.
|
||||
|
||||
|
||||
<p>
|
||||
SWIG has been freely available in various forms since February, 1996
|
||||
and a large number of developers have made contributions. Today, SWIG
|
||||
remains an all-volunteer effort. Approximately 560 people subscribe
|
||||
to the SWIG mailing list (swig@cs.uchicago.edu) and a public CVS
|
||||
repository is available at the University of Chicago.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue