Disable Modula3 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
849512f565
commit
ee3aeb8177
12 changed files with 8 additions and 61 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, CHICKEN),
|
PHP, C#, Go, Java, Javascript, Lua, Scheme (Guile, MzScheme, CHICKEN),
|
||||||
D, Ocaml, Pike, Modula-3, Octave, R, Scilab, Common Lisp (CLISP,
|
D, Ocaml, Pike, Octave, R, Scilab, Common Lisp (CLISP,
|
||||||
Allegro CL, CFFI, UFFI). SWIG can also export its parse tree in
|
Allegro CL, CFFI, UFFI). SWIG can also export its parse tree in
|
||||||
the form of XML and Lisp s-expressions. Major applications of SWIG
|
the form of XML and Lisp s-expressions. 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
|
||||||
|
[Modula3] #1447 Modula3 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-02: ahnolds
|
2019-02-02: ahnolds
|
||||||
[Python] Documentation enhancements for Python:
|
[Python] Documentation enhancements for Python:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,6 @@ SWIGJAVASCRIPT Defined when using Javascript
|
||||||
SWIG_JAVASCRIPT_JSC Defined when using Javascript for JavascriptCore
|
SWIG_JAVASCRIPT_JSC Defined when using Javascript for JavascriptCore
|
||||||
SWIG_JAVASCRIPT_V8 Defined when using Javascript for v8 or node.js
|
SWIG_JAVASCRIPT_V8 Defined when using Javascript for v8 or node.js
|
||||||
SWIGLUA Defined when using Lua
|
SWIGLUA Defined when using Lua
|
||||||
SWIGMODULA3 Defined when using Modula-3
|
|
||||||
SWIGMZSCHEME Defined when using Mzscheme
|
SWIGMZSCHEME Defined when using Mzscheme
|
||||||
SWIGOCAML Defined when using Ocaml
|
SWIGOCAML Defined when using Ocaml
|
||||||
SWIGOCTAVE Defined when using Octave
|
SWIGOCTAVE Defined when using Octave
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,6 @@ Supported Target Language Options
|
||||||
-java - Generate Java wrappers
|
-java - Generate Java wrappers
|
||||||
-javascript - Generate Javascript wrappers
|
-javascript - Generate Javascript wrappers
|
||||||
-lua - Generate Lua wrappers
|
-lua - Generate Lua wrappers
|
||||||
-modula3 - Generate Modula 3 wrappers
|
|
||||||
-mzscheme - Generate Mzscheme wrappers
|
-mzscheme - Generate Mzscheme wrappers
|
||||||
-ocaml - Generate Ocaml wrappers
|
-ocaml - Generate Ocaml wrappers
|
||||||
-octave - Generate Octave wrappers
|
-octave - Generate Octave wrappers
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,6 @@ Last update : SWIG-4.0.0 (in progress)
|
||||||
<li><a href="Javascript.html#Javascript">Javascript support</a></li>
|
<li><a href="Javascript.html#Javascript">Javascript support</a></li>
|
||||||
<li><a href="Lisp.html#Lisp">Common Lisp support</a></li>
|
<li><a href="Lisp.html#Lisp">Common Lisp support</a></li>
|
||||||
<li><a href="Lua.html#Lua">Lua support</a></li>
|
<li><a href="Lua.html#Lua">Lua support</a></li>
|
||||||
<li><a href="Modula3.html#Modula3">Modula3 support</a></li>
|
|
||||||
<li><a href="Mzscheme.html#Mzscheme">MzScheme/Racket support</a></li>
|
<li><a href="Mzscheme.html#Mzscheme">MzScheme/Racket support</a></li>
|
||||||
<li><a href="Ocaml.html#Ocaml">Ocaml support</a></li>
|
<li><a href="Ocaml.html#Ocaml">Ocaml support</a></li>
|
||||||
<li><a href="Octave.html#Octave">Octave support</a></li>
|
<li><a href="Octave.html#Octave">Octave support</a></li>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,6 @@ Java.html
|
||||||
Javascript.html
|
Javascript.html
|
||||||
Lisp.html
|
Lisp.html
|
||||||
Lua.html
|
Lua.html
|
||||||
Modula3.html
|
|
||||||
Mzscheme.html
|
Mzscheme.html
|
||||||
Ocaml.html
|
Ocaml.html
|
||||||
Octave.html
|
Octave.html
|
||||||
|
|
|
||||||
|
|
@ -805,45 +805,6 @@ android_clean:
|
||||||
rm -f `find $(PACKAGEDIR) -name \*.java | grep -v $(PROJECTNAME).java`
|
rm -f `find $(PACKAGEDIR) -name \*.java | grep -v $(PROJECTNAME).java`
|
||||||
rm -rf obj
|
rm -rf obj
|
||||||
|
|
||||||
##################################################################
|
|
||||||
##### MODULA3 ######
|
|
||||||
##################################################################
|
|
||||||
|
|
||||||
MODULA3_INCLUDE= @MODULA3INC@
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
|
||||||
# Build a modula3 dynamically loadable module (C)
|
|
||||||
# ----------------------------------------------------------------
|
|
||||||
|
|
||||||
modula3: $(SRCDIR_SRCS)
|
|
||||||
$(SWIG) -modula3 $(SWIGOPT) -o $(ISRCS) $(INTERFACEPATH)
|
|
||||||
|
|
||||||
modula3_cpp: $(SRCDIR_SRCS)
|
|
||||||
$(SWIG) -modula3 -c++ $(SWIGOPT) -o $(ICXXSRCS) $(INTERFACEPATH)
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
# Run modula3 example
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
|
|
||||||
modula3_run:
|
|
||||||
$(RUNTOOL) false $(RUNPIPE)
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
# Version display
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
|
|
||||||
modula3_version:
|
|
||||||
echo "Unknown modula3 version"
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
# Cleaning the modula3 examples
|
|
||||||
# -----------------------------------------------------------------
|
|
||||||
|
|
||||||
modula3_clean:
|
|
||||||
rm -f *_wrap* *.i3 *.m3
|
|
||||||
rm -f core @EXTRA_CLEAN@
|
|
||||||
rm -f *.@OBJEXT@ *@SO@
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
##### MZSCHEME ######
|
##### MZSCHEME ######
|
||||||
##################################################################
|
##################################################################
|
||||||
|
|
|
||||||
10
Makefile.in
10
Makefile.in
|
|
@ -72,7 +72,6 @@ skip-octave = test -n "@SKIP_OCTAVE@"
|
||||||
skip-pike = test -n "@SKIP_PIKE@"
|
skip-pike = test -n "@SKIP_PIKE@"
|
||||||
skip-chicken = test -n "@SKIP_CHICKEN@"
|
skip-chicken = test -n "@SKIP_CHICKEN@"
|
||||||
skip-csharp = test -n "@SKIP_CSHARP@"
|
skip-csharp = test -n "@SKIP_CSHARP@"
|
||||||
skip-modula3 = test -n "@SKIP_MODULA3@"
|
|
||||||
skip-lua = test -n "@SKIP_LUA@"
|
skip-lua = test -n "@SKIP_LUA@"
|
||||||
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
|
skip-allegrocl = test -n "@SKIP_ALLEGROCL@"
|
||||||
skip-clisp = test -n "@SKIP_CLISP@"
|
skip-clisp = test -n "@SKIP_CLISP@"
|
||||||
|
|
@ -120,7 +119,6 @@ check-aliveness:
|
||||||
@$(skip-pike) || ./$(TARGET) -pike -help
|
@$(skip-pike) || ./$(TARGET) -pike -help
|
||||||
@$(skip-chicken) || ./$(TARGET) -chicken -help
|
@$(skip-chicken) || ./$(TARGET) -chicken -help
|
||||||
@$(skip-csharp) || ./$(TARGET) -csharp -help
|
@$(skip-csharp) || ./$(TARGET) -csharp -help
|
||||||
@$(skip-modula3) || ./$(TARGET) -modula3 -help
|
|
||||||
@$(skip-allegrocl)|| ./$(TARGET) -allegrocl -help
|
@$(skip-allegrocl)|| ./$(TARGET) -allegrocl -help
|
||||||
@$(skip-clisp) || ./$(TARGET) -clisp -help
|
@$(skip-clisp) || ./$(TARGET) -clisp -help
|
||||||
@$(skip-uffi) || ./$(TARGET) -uffi -help
|
@$(skip-uffi) || ./$(TARGET) -uffi -help
|
||||||
|
|
@ -152,7 +150,6 @@ check-versions: \
|
||||||
check-pike-version \
|
check-pike-version \
|
||||||
check-chicken-version \
|
check-chicken-version \
|
||||||
check-csharp-version \
|
check-csharp-version \
|
||||||
check-modula3-version \
|
|
||||||
check-lua-version \
|
check-lua-version \
|
||||||
check-allegrocl-version \
|
check-allegrocl-version \
|
||||||
check-clisp-version \
|
check-clisp-version \
|
||||||
|
|
@ -192,7 +189,6 @@ check-examples: \
|
||||||
check-pike-examples \
|
check-pike-examples \
|
||||||
check-chicken-examples \
|
check-chicken-examples \
|
||||||
check-csharp-examples \
|
check-csharp-examples \
|
||||||
check-modula3-examples \
|
|
||||||
check-lua-examples \
|
check-lua-examples \
|
||||||
check-allegrocl-examples \
|
check-allegrocl-examples \
|
||||||
check-clisp-examples \
|
check-clisp-examples \
|
||||||
|
|
@ -218,7 +214,6 @@ php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list)
|
||||||
pike_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/pike/check.list)
|
pike_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/pike/check.list)
|
||||||
chicken_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/chicken/check.list)
|
chicken_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/chicken/check.list)
|
||||||
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
|
csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list)
|
||||||
modula3_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/modula3/check.list)
|
|
||||||
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
|
lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list)
|
||||||
allegrocl_examples :=
|
allegrocl_examples :=
|
||||||
clisp_examples :=
|
clisp_examples :=
|
||||||
|
|
@ -265,7 +260,6 @@ check-test-suite: \
|
||||||
check-php-test-suite \
|
check-php-test-suite \
|
||||||
check-pike-test-suite \
|
check-pike-test-suite \
|
||||||
check-csharp-test-suite \
|
check-csharp-test-suite \
|
||||||
check-modula3-test-suite \
|
|
||||||
check-lua-test-suite \
|
check-lua-test-suite \
|
||||||
check-allegrocl-test-suite \
|
check-allegrocl-test-suite \
|
||||||
check-clisp-test-suite \
|
check-clisp-test-suite \
|
||||||
|
|
@ -319,7 +313,6 @@ all-test-suite: \
|
||||||
all-php-test-suite \
|
all-php-test-suite \
|
||||||
all-pike-test-suite \
|
all-pike-test-suite \
|
||||||
all-csharp-test-suite \
|
all-csharp-test-suite \
|
||||||
all-modula3-test-suite \
|
|
||||||
all-lua-test-suite \
|
all-lua-test-suite \
|
||||||
all-allegrocl-test-suite \
|
all-allegrocl-test-suite \
|
||||||
all-clisp-test-suite \
|
all-clisp-test-suite \
|
||||||
|
|
@ -349,7 +342,6 @@ broken-test-suite: \
|
||||||
broken-php-test-suite \
|
broken-php-test-suite \
|
||||||
broken-pike-test-suite \
|
broken-pike-test-suite \
|
||||||
broken-csharp-test-suite \
|
broken-csharp-test-suite \
|
||||||
broken-modula3-test-suite \
|
|
||||||
broken-lua-test-suite \
|
broken-lua-test-suite \
|
||||||
broken-allegrocl-test-suite \
|
broken-allegrocl-test-suite \
|
||||||
broken-clisp-test-suite \
|
broken-clisp-test-suite \
|
||||||
|
|
@ -492,7 +484,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 \
|
||||||
pike chicken csharp modula3 allegrocl clisp lua cffi uffi r go d javascript javascript/jsc \
|
pike chicken csharp allegrocl clisp lua cffi uffi 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, CHICKEN), Scilab,
|
Octave, R, Scheme (Guile, MzScheme/Racket, CHICKEN), Scilab,
|
||||||
Ocaml, Modula-3, Common Lisp (CLISP, Allegro CL, CFFI, UFFI)
|
Ocaml, Common Lisp (CLISP, Allegro CL, CFFI, UFFI)
|
||||||
and Pike. SWIG can also export its parse tree into XML and
|
and Pike. SWIG can also export its parse tree into XML and
|
||||||
Lisp s-expressions.
|
Lisp s-expressions.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,6 @@ eswig_SOURCES = CParse/cscanner.c \
|
||||||
Modules/lang.cxx \
|
Modules/lang.cxx \
|
||||||
Modules/lua.cxx \
|
Modules/lua.cxx \
|
||||||
Modules/main.cxx \
|
Modules/main.cxx \
|
||||||
Modules/modula3.cxx \
|
|
||||||
Modules/mzscheme.cxx \
|
Modules/mzscheme.cxx \
|
||||||
Modules/nested.cxx \
|
Modules/nested.cxx \
|
||||||
Modules/ocaml.cxx \
|
Modules/ocaml.cxx \
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,6 @@ extern "C" {
|
||||||
Language *swig_java(void);
|
Language *swig_java(void);
|
||||||
Language *swig_javascript(void);
|
Language *swig_javascript(void);
|
||||||
Language *swig_lua(void);
|
Language *swig_lua(void);
|
||||||
Language *swig_modula3(void);
|
|
||||||
Language *swig_mzscheme(void);
|
Language *swig_mzscheme(void);
|
||||||
Language *swig_ocaml(void);
|
Language *swig_ocaml(void);
|
||||||
Language *swig_octave(void);
|
Language *swig_octave(void);
|
||||||
|
|
@ -72,7 +71,7 @@ static TargetLanguageModule modules[] = {
|
||||||
{"-java", swig_java, "Java", Supported},
|
{"-java", swig_java, "Java", Supported},
|
||||||
{"-javascript", swig_javascript, "Javascript", Supported},
|
{"-javascript", swig_javascript, "Javascript", Supported},
|
||||||
{"-lua", swig_lua, "Lua", Supported},
|
{"-lua", swig_lua, "Lua", Supported},
|
||||||
{"-modula3", swig_modula3, "Modula 3", Supported},
|
{"-modula3", NULL, "Modula 3", Disabled},
|
||||||
{"-mzscheme", swig_mzscheme, "Mzscheme", Supported},
|
{"-mzscheme", swig_mzscheme, "Mzscheme", Supported},
|
||||||
{"-ocaml", swig_ocaml, "Ocaml", Supported},
|
{"-ocaml", swig_ocaml, "Ocaml", Supported},
|
||||||
{"-octave", swig_octave, "Octave", Supported},
|
{"-octave", swig_octave, "Octave", Supported},
|
||||||
|
|
|
||||||
|
|
@ -2888,9 +2888,6 @@ else
|
||||||
fi
|
fi
|
||||||
AC_SUBST(SKIP_CSHARP)
|
AC_SUBST(SKIP_CSHARP)
|
||||||
|
|
||||||
SKIP_MODULA3="1" # Always skipped!
|
|
||||||
AC_SUBST(SKIP_MODULA3)
|
|
||||||
|
|
||||||
SKIP_LUA=
|
SKIP_LUA=
|
||||||
# we need LUABIN & dynamic loading
|
# we need LUABIN & dynamic loading
|
||||||
if test -z "$LUABIN" || test -z "$LUADYNAMICLOADLIB"; then
|
if test -z "$LUABIN" || test -z "$LUADYNAMICLOADLIB"; then
|
||||||
|
|
@ -3114,7 +3111,6 @@ test -n "$SKIP_GUILE" || langs="${langs}guile "
|
||||||
test -n "$SKIP_JAVA" || langs="${langs}java "
|
test -n "$SKIP_JAVA" || langs="${langs}java "
|
||||||
test -n "$SKIP_JAVASCRIPT" || langs="${langs}javascript "
|
test -n "$SKIP_JAVASCRIPT" || langs="${langs}javascript "
|
||||||
test -n "$SKIP_LUA" || langs="${langs}lua "
|
test -n "$SKIP_LUA" || langs="${langs}lua "
|
||||||
test -n "$SKIP_MODULA3" || langs="${langs}modula3 "
|
|
||||||
test -n "$SKIP_MZSCHEME" || langs="${langs}mzscheme "
|
test -n "$SKIP_MZSCHEME" || langs="${langs}mzscheme "
|
||||||
test -n "$SKIP_OCAML" || langs="${langs}ocaml "
|
test -n "$SKIP_OCAML" || langs="${langs}ocaml "
|
||||||
test -n "$SKIP_OCTAVE" || langs="${langs}octave "
|
test -n "$SKIP_OCTAVE" || langs="${langs}octave "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue