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:
William S Fulton 2019-02-05 07:21:35 +00:00
commit 6d7e3df54e
13 changed files with 10 additions and 68 deletions

View file

@ -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
from other programming languages including Perl, Python, Tcl, Ruby,
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
the form of XML. Major applications of SWIG
include generation of scripting language extension modules, rapid

View file

@ -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)
===========================
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
[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.

View file

@ -11,7 +11,6 @@
<!-- INDEX -->
<div class="sectiontoc">
<ul>
<li><a href="#Lisp_nn2">Allegro Common Lisp</a>
<li><a href="#Lisp_nn3">Common Foreign Function Interface(CFFI)</a>
<ul>
<li><a href="#Lisp_nn4">Additional Commandline Options </a>
@ -35,16 +34,8 @@
finance, and also common in computer science education.
There are more than 9 different implementations of common lisp which
are available, all have different foreign function
interfaces. SWIG currently supports only the Allegro Common
Lisp, 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>
interfaces. SWIG currently supports the
Common Foreign Function Interface(CFFI).
</p>
<H2><a name="Lisp_nn3">29.2 Common Foreign Function Interface(CFFI)</a></H2>

View file

@ -109,7 +109,6 @@ SWIGIMPORTED Defined when SWIG is importing a file with <tt>%
SWIG_VERSION Hexadecimal (binary-coded decimal) number containing SWIG version,
such as 0x010311 (corresponding to SWIG-1.3.11).
SWIGALLEGROCL Defined when using Allegro CL
SWIGCFFI Defined when using CFFI
SWIGCSHARP Defined when using C#
SWIGGUILE Defined when using Guile

View file

@ -118,7 +118,6 @@ for example, <tt>swig -ruby -help</tt> for Ruby.
<div class="shell"><pre>
Supported Target Language Options
-allegrocl - Generate ALLEGROCL wrappers
-cffi - Generate CFFI wrappers
-csharp - Generate C# wrappers
-d - Generate D wrappers

View file

@ -39,7 +39,6 @@ Last update : SWIG-4.0.0 (in progress)
<H3><a name="Sections_language_modules">Supported Language Modules Documentation</a></H3>
<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="CSharp.html#CSharp">C# support</a></li>
<li><a href="D.html#D">D support</a></li>

View file

@ -17,7 +17,6 @@ Doxygen.html
Warnings.html
Modules.html
CCache.html
Allegrocl.html
Android.html
CSharp.html
D.html

View file

@ -71,7 +71,6 @@ skip-ocaml = test -n "@SKIP_OCAML@"
skip-octave = test -n "@SKIP_OCTAVE@"
skip-csharp = test -n "@SKIP_CSHARP@"
skip-lua = test -n "@SKIP_LUA@"
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
skip-cffi = test -n "@SKIP_CFFI@"
skip-r = test -n "@SKIP_R@"
skip-scilab = test -n "@SKIP_SCILAB@"
@ -113,7 +112,6 @@ check-aliveness:
@$(skip-octave) || ./$(TARGET) -octave -help
@$(skip-php) || ./$(TARGET) -php7 -help
@$(skip-csharp) || ./$(TARGET) -csharp -help
@$(skip-allegrocl)|| ./$(TARGET) -allegrocl -help
@$(skip-cffi) || ./$(TARGET) -cffi -help
@$(skip-lua) || ./$(TARGET) -lua -help
@$(skip-r) || ./$(TARGET) -r -help
@ -141,7 +139,6 @@ check-versions: \
check-php-version \
check-csharp-version \
check-lua-version \
check-allegrocl-version \
check-cffi-version \
check-r-version \
check-scilab-version \
@ -176,7 +173,6 @@ check-examples: \
check-php-examples \
check-csharp-examples \
check-lua-examples \
check-allegrocl-examples \
check-cffi-examples \
check-r-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)
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
allegrocl_examples :=
cffi_examples :=
r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list)
scilab_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/scilab/check.list)
@ -240,7 +235,6 @@ check-test-suite: \
check-php-test-suite \
check-csharp-test-suite \
check-lua-test-suite \
check-allegrocl-test-suite \
check-cffi-test-suite \
check-r-test-suite \
check-scilab-test-suite \
@ -289,7 +283,6 @@ all-test-suite: \
all-php-test-suite \
all-csharp-test-suite \
all-lua-test-suite \
all-allegrocl-test-suite \
all-cffi-test-suite \
all-r-test-suite \
all-scilab-test-suite \
@ -314,7 +307,6 @@ broken-test-suite: \
broken-php-test-suite \
broken-csharp-test-suite \
broken-lua-test-suite \
broken-allegrocl-test-suite \
broken-cffi-test-suite \
broken-r-test-suite \
broken-scilab-test-suite \
@ -452,7 +444,7 @@ install-main:
@$(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 \
csharp allegrocl lua cffi r go d javascript javascript/jsc \
csharp lua cffi r go d javascript javascript/jsc \
javascript/v8 scilab xml
lib-modules = std

2
README
View file

@ -5,7 +5,7 @@ Version: 4.0.0 (in progress)
Tagline: SWIG is a compiler that integrates C and C++ with languages
including Perl, Python, Tcl, Ruby, PHP, Java, C#, D, Go, Lua,
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 reads annotated C/C++ header files and creates wrapper code (glue

View file

@ -45,7 +45,6 @@ eswig_SOURCES = CParse/cscanner.c \
Doxygen/javadoc.h \
Doxygen/pydoc.cxx \
Doxygen/pydoc.h \
Modules/allegrocl.cxx \
Modules/allocate.cxx \
Modules/browser.cxx \
Modules/cffi.cxx \

View file

@ -26,7 +26,6 @@
can be dynamically loaded in future versions. */
extern "C" {
Language *swig_allegrocl(void);
Language *swig_cffi(void);
Language *swig_csharp(void);
Language *swig_d(void);
@ -55,7 +54,7 @@ extern "C" {
list sorted alphabetically. */
static TargetLanguageModule modules[] = {
{"-allegrocl", swig_allegrocl, "ALLEGROCL", Supported},
{"-allegrocl", NULL, "ALLEGROCL", Disabled},
{"-chicken", NULL, "CHICKEN", Disabled},
{"-clisp", NULL, "CLISP", Disabled},
{"-cffi", swig_cffi, "CFFI", Supported},

8
TODO
View file

@ -275,14 +275,6 @@ Mzscheme
** 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
-----
** I've been working with my camlp4 module and type information

View file

@ -2332,29 +2332,6 @@ AC_SUBST(LUAFLAGS)
AC_SUBST(LUALINK)
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
#----------------------------------------------------------------
@ -2690,12 +2667,6 @@ if test -z "$LUABIN" || test -z "$LUADYNAMICLOADLIB"; then
fi
AC_SUBST(SKIP_LUA)
SKIP_ALLEGROCL=
if test -z "$ALLEGROCLBIN" ; then
SKIP_ALLEGROCL="1"
fi
AC_SUBST(SKIP_ALLEGROCL)
SKIP_R=
if test -z "$RBIN" ; then
SKIP_R="1"
@ -2830,7 +2801,6 @@ AC_CONFIG_FILES([
Examples/test-suite/scilab/Makefile
Examples/test-suite/tcl/Makefile
Examples/test-suite/lua/Makefile
Examples/test-suite/allegrocl/Makefile
Examples/test-suite/cffi/Makefile
Examples/test-suite/r/Makefile
Examples/test-suite/go/Makefile
@ -2879,7 +2849,6 @@ EOF
AC_OUTPUT
langs=""
test -n "$SKIP_ALLEGROCL" || langs="${langs}allegrocl "
test -n "$SKIP_CFFI" || langs="${langs}cffi "
test -n "$SKIP_CSHARP" || langs="${langs}csharp "
test -n "$SKIP_D" || langs="${langs}d "