Huge update to the Allegrocl module. Better C support. C++ support
added. Documentation! Makes use of typemaps for better interface tuning. Improved type support. Wrapping of foreign pointers in CLOS objects; hopefully a step toward being able to extend C++ classes from Lisp. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
285590d616
commit
4098a01b68
22 changed files with 3703 additions and 882 deletions
|
|
@ -6,17 +6,23 @@
|
|||
</head>
|
||||
|
||||
<body bgcolor="#ffffff">
|
||||
<H1><a name="Lisp_nn1"></a>30 SWIG and Common Lisp</H1>
|
||||
<H1><a name="Lisp_nn1"></a>16 SWIG and Common Lisp</H1>
|
||||
<!-- INDEX -->
|
||||
<div class="sectiontoc">
|
||||
<ul>
|
||||
<li><a href="Lisp.html#Lisp_nn2">Allegro Common Lisp</a>
|
||||
<li><a href="Lisp.html#Lisp_nn3">CLISP</a>
|
||||
<li><a href="Lisp.html#Lisp_nn4">UFFI</a>
|
||||
<li><a href="#Lisp_nn2">Allegro Common Lisp</a>
|
||||
<li><a href="#Lisp_nn3">CLISP</a>
|
||||
<ul>
|
||||
<li><a href="#Lisp_nn4">Additional Commandline Options </a>
|
||||
<li><a href="#Lisp_nn5">Details on CLISP bindings</a>
|
||||
</ul>
|
||||
<li><a href="#Lisp_nn6">UFFI </a>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- INDEX -->
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
Common Lisp is a high-level, all-purpose, object-oriented,
|
||||
dynamic, functional programming language with long history.
|
||||
|
|
@ -27,10 +33,19 @@
|
|||
interfaces. SWIG currently supports only the Allegro Common
|
||||
Lisp, CLisp and UFFI foreign function interfaces.
|
||||
</p>
|
||||
<H2><a name="Lisp_nn2"></a>30.1 Allegro Common Lisp</H2>
|
||||
<H2><a name="Lisp_nn2"></a>16.1 Allegro Common Lisp</H2>
|
||||
|
||||
|
||||
<p>
|
||||
Allegro Common Lisp support in SWIG has been updated to include
|
||||
support for both C and C++. You can read about the interface
|
||||
<a href="Allegrocl.html#Allegrocl_nn1">here</a>
|
||||
</p>
|
||||
<H2><a name="Lisp_nn3"></a>30.2 CLISP</H2>
|
||||
|
||||
|
||||
<H2><a name="Lisp_nn3"></a>16.2 CLISP</H2>
|
||||
|
||||
|
||||
<p>
|
||||
<a href="http://clisp.cons.org">CLISP</a> is a feature-loaded
|
||||
implementation of common lisp which is portable across most of the
|
||||
|
|
@ -56,7 +71,8 @@ swig -clispcl -module <i>module-name</i> <i>file-name</i>
|
|||
interface file for the CLISP module. The CLISP module tries to
|
||||
produce code which is both human readable and easily modifyable.
|
||||
</p>
|
||||
<H3><a name="Lisp_nn4"></a>30.2.1 Additional Commandline Options </H3>
|
||||
<H3><a name="Lisp_nn4"></a>16.2.1 Additional Commandline Options </H3>
|
||||
|
||||
|
||||
<p>
|
||||
The following table list the additional commandline options available for the CLISP module. They can also be seen by using:
|
||||
|
|
@ -88,7 +104,8 @@ and global variables will be created otherwise only definitions for<br/>
|
|||
|
||||
</table>
|
||||
|
||||
<H3><a name="Lisp_nn5"></a>30.2.2 Details on CLISP bindings</H3>
|
||||
<H3><a name="Lisp_nn5"></a>16.2.2 Details on CLISP bindings</H3>
|
||||
|
||||
|
||||
<p>
|
||||
As mentioned earlier the CLISP bindings generated by SWIG may need
|
||||
|
|
@ -211,7 +228,9 @@ struct bar {
|
|||
|
||||
</pre></div>
|
||||
|
||||
<H2><a name="Lisp_nn6"></a>30.3 UFFI </H2>
|
||||
<H2><a name="Lisp_nn6"></a>16.3 UFFI </H2>
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue