Disable Allegrcol target language
Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
This commit is contained in:
parent
09e0577d95
commit
6d7e3df54e
13 changed files with 10 additions and 68 deletions
2
ANNOUNCE
2
ANNOUNCE
|
|
@ -11,7 +11,7 @@ SWIG is a software development tool that reads C/C++ header files and
|
||||||
generates the wrapper code needed to make C and C++ code accessible
|
generates the wrapper code needed to make C and C++ code accessible
|
||||||
from other programming languages including Perl, Python, Tcl, Ruby,
|
from other programming languages including Perl, Python, Tcl, Ruby,
|
||||||
PHP, C#, Go, Java, Javascript, Lua, Scheme (Guile, MzScheme),
|
PHP, C#, Go, Java, Javascript, Lua, Scheme (Guile, MzScheme),
|
||||||
D, Ocaml, Octave, R, Scilab, Common Lisp (Allegro CL, CFFI).
|
D, Ocaml, Octave, R, Scilab, Common Lisp (CFFI).
|
||||||
SWIG can also export its parse tree in
|
SWIG can also export its parse tree in
|
||||||
the form of XML. Major applications of SWIG
|
the form of XML. Major applications of SWIG
|
||||||
include generation of scripting language extension modules, rapid
|
include generation of scripting language extension modules, rapid
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
||||||
Version 4.0.0 (in progress)
|
Version 4.0.0 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2019-02-04: wsfulton
|
||||||
|
[Allegrocl] #1447 Allegro Common Lisp has been disabled as a target language in SWIG as part of a
|
||||||
|
clean up to remove target languages that have been neglected/not functional.
|
||||||
|
|
||||||
2019-02-04: wsfulton
|
2019-02-04: wsfulton
|
||||||
[Chicken] #1447 CHICKEN has been disabled as a target language in SWIG as part of a
|
[Chicken] #1447 CHICKEN has been disabled as a target language in SWIG as part of a
|
||||||
clean up to remove target languages that have been neglected/not functional.
|
clean up to remove target languages that have been neglected/not functional.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
<!-- INDEX -->
|
<!-- INDEX -->
|
||||||
<div class="sectiontoc">
|
<div class="sectiontoc">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#Lisp_nn2">Allegro Common Lisp</a>
|
|
||||||
<li><a href="#Lisp_nn3">Common Foreign Function Interface(CFFI)</a>
|
<li><a href="#Lisp_nn3">Common Foreign Function Interface(CFFI)</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#Lisp_nn4">Additional Commandline Options </a>
|
<li><a href="#Lisp_nn4">Additional Commandline Options </a>
|
||||||
|
|
@ -35,16 +34,8 @@
|
||||||
finance, and also common in computer science education.
|
finance, and also common in computer science education.
|
||||||
There are more than 9 different implementations of common lisp which
|
There are more than 9 different implementations of common lisp which
|
||||||
are available, all have different foreign function
|
are available, all have different foreign function
|
||||||
interfaces. SWIG currently supports only the Allegro Common
|
interfaces. SWIG currently supports the
|
||||||
Lisp, Common Foreign Function Interface(CFFI).
|
Common Foreign Function Interface(CFFI).
|
||||||
</p>
|
|
||||||
<H2><a name="Lisp_nn2">29.1 Allegro Common Lisp</a></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">here</a>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<H2><a name="Lisp_nn3">29.2 Common Foreign Function Interface(CFFI)</a></H2>
|
<H2><a name="Lisp_nn3">29.2 Common Foreign Function Interface(CFFI)</a></H2>
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,6 @@ SWIGIMPORTED Defined when SWIG is importing a file with <tt>%
|
||||||
SWIG_VERSION Hexadecimal (binary-coded decimal) number containing SWIG version,
|
SWIG_VERSION Hexadecimal (binary-coded decimal) number containing SWIG version,
|
||||||
such as 0x010311 (corresponding to SWIG-1.3.11).
|
such as 0x010311 (corresponding to SWIG-1.3.11).
|
||||||
|
|
||||||
SWIGALLEGROCL Defined when using Allegro CL
|
|
||||||
SWIGCFFI Defined when using CFFI
|
SWIGCFFI Defined when using CFFI
|
||||||
SWIGCSHARP Defined when using C#
|
SWIGCSHARP Defined when using C#
|
||||||
SWIGGUILE Defined when using Guile
|
SWIGGUILE Defined when using Guile
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,6 @@ for example, <tt>swig -ruby -help</tt> for Ruby.
|
||||||
|
|
||||||
<div class="shell"><pre>
|
<div class="shell"><pre>
|
||||||
Supported Target Language Options
|
Supported Target Language Options
|
||||||
-allegrocl - Generate ALLEGROCL wrappers
|
|
||||||
-cffi - Generate CFFI wrappers
|
-cffi - Generate CFFI wrappers
|
||||||
-csharp - Generate C# wrappers
|
-csharp - Generate C# wrappers
|
||||||
-d - Generate D wrappers
|
-d - Generate D wrappers
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ Last update : SWIG-4.0.0 (in progress)
|
||||||
<H3><a name="Sections_language_modules">Supported Language Modules Documentation</a></H3>
|
<H3><a name="Sections_language_modules">Supported Language Modules Documentation</a></H3>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="Allegrocl.html#Allegrocl">Allegro Common Lisp support</a></li>
|
|
||||||
<li><a href="Android.html#Android">Android support</a></li>
|
<li><a href="Android.html#Android">Android support</a></li>
|
||||||
<li><a href="CSharp.html#CSharp">C# support</a></li>
|
<li><a href="CSharp.html#CSharp">C# support</a></li>
|
||||||
<li><a href="D.html#D">D support</a></li>
|
<li><a href="D.html#D">D support</a></li>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ Doxygen.html
|
||||||
Warnings.html
|
Warnings.html
|
||||||
Modules.html
|
Modules.html
|
||||||
CCache.html
|
CCache.html
|
||||||
Allegrocl.html
|
|
||||||
Android.html
|
Android.html
|
||||||
CSharp.html
|
CSharp.html
|
||||||
D.html
|
D.html
|
||||||
|
|
|
||||||
10
Makefile.in
10
Makefile.in
|
|
@ -71,7 +71,6 @@ skip-ocaml = test -n "@SKIP_OCAML@"
|
||||||
skip-octave = test -n "@SKIP_OCTAVE@"
|
skip-octave = test -n "@SKIP_OCTAVE@"
|
||||||
skip-csharp = test -n "@SKIP_CSHARP@"
|
skip-csharp = test -n "@SKIP_CSHARP@"
|
||||||
skip-lua = test -n "@SKIP_LUA@"
|
skip-lua = test -n "@SKIP_LUA@"
|
||||||
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
|
|
||||||
skip-cffi = test -n "@SKIP_CFFI@"
|
skip-cffi = test -n "@SKIP_CFFI@"
|
||||||
skip-r = test -n "@SKIP_R@"
|
skip-r = test -n "@SKIP_R@"
|
||||||
skip-scilab = test -n "@SKIP_SCILAB@"
|
skip-scilab = test -n "@SKIP_SCILAB@"
|
||||||
|
|
@ -113,7 +112,6 @@ check-aliveness:
|
||||||
@$(skip-octave) || ./$(TARGET) -octave -help
|
@$(skip-octave) || ./$(TARGET) -octave -help
|
||||||
@$(skip-php) || ./$(TARGET) -php7 -help
|
@$(skip-php) || ./$(TARGET) -php7 -help
|
||||||
@$(skip-csharp) || ./$(TARGET) -csharp -help
|
@$(skip-csharp) || ./$(TARGET) -csharp -help
|
||||||
@$(skip-allegrocl)|| ./$(TARGET) -allegrocl -help
|
|
||||||
@$(skip-cffi) || ./$(TARGET) -cffi -help
|
@$(skip-cffi) || ./$(TARGET) -cffi -help
|
||||||
@$(skip-lua) || ./$(TARGET) -lua -help
|
@$(skip-lua) || ./$(TARGET) -lua -help
|
||||||
@$(skip-r) || ./$(TARGET) -r -help
|
@$(skip-r) || ./$(TARGET) -r -help
|
||||||
|
|
@ -141,7 +139,6 @@ check-versions: \
|
||||||
check-php-version \
|
check-php-version \
|
||||||
check-csharp-version \
|
check-csharp-version \
|
||||||
check-lua-version \
|
check-lua-version \
|
||||||
check-allegrocl-version \
|
|
||||||
check-cffi-version \
|
check-cffi-version \
|
||||||
check-r-version \
|
check-r-version \
|
||||||
check-scilab-version \
|
check-scilab-version \
|
||||||
|
|
@ -176,7 +173,6 @@ check-examples: \
|
||||||
check-php-examples \
|
check-php-examples \
|
||||||
check-csharp-examples \
|
check-csharp-examples \
|
||||||
check-lua-examples \
|
check-lua-examples \
|
||||||
check-allegrocl-examples \
|
|
||||||
check-cffi-examples \
|
check-cffi-examples \
|
||||||
check-r-examples \
|
check-r-examples \
|
||||||
check-scilab-examples \
|
check-scilab-examples \
|
||||||
|
|
@ -197,7 +193,6 @@ octave_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/octave/check.list)
|
||||||
php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list)
|
php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list)
|
||||||
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
|
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
|
||||||
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
|
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
|
||||||
allegrocl_examples :=
|
|
||||||
cffi_examples :=
|
cffi_examples :=
|
||||||
r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list)
|
r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list)
|
||||||
scilab_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/scilab/check.list)
|
scilab_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/scilab/check.list)
|
||||||
|
|
@ -240,7 +235,6 @@ check-test-suite: \
|
||||||
check-php-test-suite \
|
check-php-test-suite \
|
||||||
check-csharp-test-suite \
|
check-csharp-test-suite \
|
||||||
check-lua-test-suite \
|
check-lua-test-suite \
|
||||||
check-allegrocl-test-suite \
|
|
||||||
check-cffi-test-suite \
|
check-cffi-test-suite \
|
||||||
check-r-test-suite \
|
check-r-test-suite \
|
||||||
check-scilab-test-suite \
|
check-scilab-test-suite \
|
||||||
|
|
@ -289,7 +283,6 @@ all-test-suite: \
|
||||||
all-php-test-suite \
|
all-php-test-suite \
|
||||||
all-csharp-test-suite \
|
all-csharp-test-suite \
|
||||||
all-lua-test-suite \
|
all-lua-test-suite \
|
||||||
all-allegrocl-test-suite \
|
|
||||||
all-cffi-test-suite \
|
all-cffi-test-suite \
|
||||||
all-r-test-suite \
|
all-r-test-suite \
|
||||||
all-scilab-test-suite \
|
all-scilab-test-suite \
|
||||||
|
|
@ -314,7 +307,6 @@ broken-test-suite: \
|
||||||
broken-php-test-suite \
|
broken-php-test-suite \
|
||||||
broken-csharp-test-suite \
|
broken-csharp-test-suite \
|
||||||
broken-lua-test-suite \
|
broken-lua-test-suite \
|
||||||
broken-allegrocl-test-suite \
|
|
||||||
broken-cffi-test-suite \
|
broken-cffi-test-suite \
|
||||||
broken-r-test-suite \
|
broken-r-test-suite \
|
||||||
broken-scilab-test-suite \
|
broken-scilab-test-suite \
|
||||||
|
|
@ -452,7 +444,7 @@ install-main:
|
||||||
@$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@
|
@$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@
|
||||||
|
|
||||||
lib-languages = typemaps tcl perl5 python guile java mzscheme ruby php ocaml octave \
|
lib-languages = typemaps tcl perl5 python guile java mzscheme ruby php ocaml octave \
|
||||||
csharp allegrocl lua cffi r go d javascript javascript/jsc \
|
csharp lua cffi r go d javascript javascript/jsc \
|
||||||
javascript/v8 scilab xml
|
javascript/v8 scilab xml
|
||||||
|
|
||||||
lib-modules = std
|
lib-modules = std
|
||||||
|
|
|
||||||
2
README
2
README
|
|
@ -5,7 +5,7 @@ Version: 4.0.0 (in progress)
|
||||||
Tagline: SWIG is a compiler that integrates C and C++ with languages
|
Tagline: SWIG is a compiler that integrates C and C++ with languages
|
||||||
including Perl, Python, Tcl, Ruby, PHP, Java, C#, D, Go, Lua,
|
including Perl, Python, Tcl, Ruby, PHP, Java, C#, D, Go, Lua,
|
||||||
Octave, R, Scheme (Guile, MzScheme/Racket), Scilab,
|
Octave, R, Scheme (Guile, MzScheme/Racket), Scilab,
|
||||||
Ocaml, Common Lisp (Allegro CL, CFFI).
|
Ocaml, Common Lisp (CFFI).
|
||||||
SWIG can also export its parse tree into XML.
|
SWIG can also export its parse tree into XML.
|
||||||
|
|
||||||
SWIG reads annotated C/C++ header files and creates wrapper code (glue
|
SWIG reads annotated C/C++ header files and creates wrapper code (glue
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ eswig_SOURCES = CParse/cscanner.c \
|
||||||
Doxygen/javadoc.h \
|
Doxygen/javadoc.h \
|
||||||
Doxygen/pydoc.cxx \
|
Doxygen/pydoc.cxx \
|
||||||
Doxygen/pydoc.h \
|
Doxygen/pydoc.h \
|
||||||
Modules/allegrocl.cxx \
|
|
||||||
Modules/allocate.cxx \
|
Modules/allocate.cxx \
|
||||||
Modules/browser.cxx \
|
Modules/browser.cxx \
|
||||||
Modules/cffi.cxx \
|
Modules/cffi.cxx \
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
can be dynamically loaded in future versions. */
|
can be dynamically loaded in future versions. */
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
Language *swig_allegrocl(void);
|
|
||||||
Language *swig_cffi(void);
|
Language *swig_cffi(void);
|
||||||
Language *swig_csharp(void);
|
Language *swig_csharp(void);
|
||||||
Language *swig_d(void);
|
Language *swig_d(void);
|
||||||
|
|
@ -55,7 +54,7 @@ extern "C" {
|
||||||
list sorted alphabetically. */
|
list sorted alphabetically. */
|
||||||
|
|
||||||
static TargetLanguageModule modules[] = {
|
static TargetLanguageModule modules[] = {
|
||||||
{"-allegrocl", swig_allegrocl, "ALLEGROCL", Supported},
|
{"-allegrocl", NULL, "ALLEGROCL", Disabled},
|
||||||
{"-chicken", NULL, "CHICKEN", Disabled},
|
{"-chicken", NULL, "CHICKEN", Disabled},
|
||||||
{"-clisp", NULL, "CLISP", Disabled},
|
{"-clisp", NULL, "CLISP", Disabled},
|
||||||
{"-cffi", swig_cffi, "CFFI", Supported},
|
{"-cffi", swig_cffi, "CFFI", Supported},
|
||||||
|
|
|
||||||
8
TODO
8
TODO
|
|
@ -275,14 +275,6 @@ Mzscheme
|
||||||
|
|
||||||
** Add shadow class support for the Swindle system.
|
** Add shadow class support for the Swindle system.
|
||||||
|
|
||||||
ALLEGROCL
|
|
||||||
-----
|
|
||||||
These first three will remove most of the warnings from most of the
|
|
||||||
remaining checkpartial tests that are failing.
|
|
||||||
**** Throws typemap support
|
|
||||||
**** const typemaps
|
|
||||||
**** long long typemaps
|
|
||||||
|
|
||||||
Ocaml
|
Ocaml
|
||||||
-----
|
-----
|
||||||
** I've been working with my camlp4 module and type information
|
** I've been working with my camlp4 module and type information
|
||||||
|
|
|
||||||
31
configure.ac
31
configure.ac
|
|
@ -2332,29 +2332,6 @@ AC_SUBST(LUAFLAGS)
|
||||||
AC_SUBST(LUALINK)
|
AC_SUBST(LUALINK)
|
||||||
AC_SUBST(LUABIN)
|
AC_SUBST(LUABIN)
|
||||||
|
|
||||||
#----------------------------------------------------------------
|
|
||||||
# Look for Allegro Common Lisp
|
|
||||||
#----------------------------------------------------------------
|
|
||||||
|
|
||||||
ALLEGROCLBIN=
|
|
||||||
|
|
||||||
AC_ARG_WITH(allegrocl, AS_HELP_STRING([--without-allegrocl], [Disable Allegro CL])
|
|
||||||
AS_HELP_STRING([--with-allegrocl=path], [Set location of Allegro CL executable (alisp)]),[ ALLEGROCLBIN="$withval"], [ALLEGROCLBIN="$alllang_default"])
|
|
||||||
|
|
||||||
# First, check for "--without-allegrocl" or "--with-allegrocl=no".
|
|
||||||
if test x"${ALLEGROCLBIN}" = xno; then
|
|
||||||
AC_MSG_NOTICE([Disabling Allegro CL])
|
|
||||||
ALLEGROCLBIN=
|
|
||||||
else
|
|
||||||
|
|
||||||
# can we find allegrocl?
|
|
||||||
if test "x$ALLEGROCLBIN" = xyes; then
|
|
||||||
AC_PATH_PROG(ALLEGROCLBIN, alisp)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(ALLEGROCLBIN)
|
|
||||||
|
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
# Look for GNU R
|
# Look for GNU R
|
||||||
#----------------------------------------------------------------
|
#----------------------------------------------------------------
|
||||||
|
|
@ -2690,12 +2667,6 @@ if test -z "$LUABIN" || test -z "$LUADYNAMICLOADLIB"; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST(SKIP_LUA)
|
AC_SUBST(SKIP_LUA)
|
||||||
|
|
||||||
SKIP_ALLEGROCL=
|
|
||||||
if test -z "$ALLEGROCLBIN" ; then
|
|
||||||
SKIP_ALLEGROCL="1"
|
|
||||||
fi
|
|
||||||
AC_SUBST(SKIP_ALLEGROCL)
|
|
||||||
|
|
||||||
SKIP_R=
|
SKIP_R=
|
||||||
if test -z "$RBIN" ; then
|
if test -z "$RBIN" ; then
|
||||||
SKIP_R="1"
|
SKIP_R="1"
|
||||||
|
|
@ -2830,7 +2801,6 @@ AC_CONFIG_FILES([
|
||||||
Examples/test-suite/scilab/Makefile
|
Examples/test-suite/scilab/Makefile
|
||||||
Examples/test-suite/tcl/Makefile
|
Examples/test-suite/tcl/Makefile
|
||||||
Examples/test-suite/lua/Makefile
|
Examples/test-suite/lua/Makefile
|
||||||
Examples/test-suite/allegrocl/Makefile
|
|
||||||
Examples/test-suite/cffi/Makefile
|
Examples/test-suite/cffi/Makefile
|
||||||
Examples/test-suite/r/Makefile
|
Examples/test-suite/r/Makefile
|
||||||
Examples/test-suite/go/Makefile
|
Examples/test-suite/go/Makefile
|
||||||
|
|
@ -2879,7 +2849,6 @@ EOF
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
langs=""
|
langs=""
|
||||||
test -n "$SKIP_ALLEGROCL" || langs="${langs}allegrocl "
|
|
||||||
test -n "$SKIP_CFFI" || langs="${langs}cffi "
|
test -n "$SKIP_CFFI" || langs="${langs}cffi "
|
||||||
test -n "$SKIP_CSHARP" || langs="${langs}csharp "
|
test -n "$SKIP_CSHARP" || langs="${langs}csharp "
|
||||||
test -n "$SKIP_D" || langs="${langs}d "
|
test -n "$SKIP_D" || langs="${langs}d "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue