Disable Common Lisp / S-Exp 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-04 20:12:28 +00:00
commit df51dc8e8f
8 changed files with 8 additions and 9 deletions

View file

@ -13,7 +13,7 @@ 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, Octave, R, Scilab, Common Lisp (CLISP, D, Ocaml, Octave, R, Scilab, Common Lisp (CLISP,
Allegro CL, CFFI). SWIG can also export its parse tree in Allegro CL, CFFI). SWIG can also export its parse tree in
the form of XML and Lisp s-expressions. 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
prototyping, testing, and user interface development for large prototyping, testing, and user interface development for large
C/C++ systems. C/C++ systems.

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) Version 4.0.0 (in progress)
=========================== ===========================
2019-02-04: wsfulton
[S-EXP] #1447 Common Lisp S-Exp 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
[UFFI] #1447 Common Lisp UFFI has been disabled as a target language in SWIG as part of a [UFFI] #1447 Common Lisp UFFI 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.

View file

@ -130,7 +130,6 @@ SWIGPYTHON Defined when using Python
SWIGR Defined when using R SWIGR Defined when using R
SWIGRUBY Defined when using Ruby SWIGRUBY Defined when using Ruby
SWIGSCILAB Defined when using Scilab SWIGSCILAB Defined when using Scilab
SWIGSEXP Defined when using S-expressions
SWIGTCL Defined when using Tcl SWIGTCL Defined when using Tcl
SWIGXML Defined when using XML SWIGXML Defined when using XML
</pre></div> </pre></div>

View file

@ -138,7 +138,6 @@ Supported Target Language Options
-r - Generate R (aka GNU S) wrappers -r - Generate R (aka GNU S) wrappers
-ruby - Generate Ruby wrappers -ruby - Generate Ruby wrappers
-scilab - Generate Scilab wrappers -scilab - Generate Scilab wrappers
-sexp - Generate Lisp S-Expressions wrappers
-tcl - Generate Tcl wrappers -tcl - Generate Tcl wrappers
-xml - Generate XML wrappers -xml - Generate XML wrappers

3
README
View file

@ -6,8 +6,7 @@ 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, Common Lisp (CLISP, Allegro CL, CFFI). Ocaml, Common Lisp (CLISP, Allegro CL, CFFI).
SWIG can also export its parse tree into XML and SWIG can also export its parse tree into XML.
Lisp s-expressions.
SWIG reads annotated C/C++ header files and creates wrapper code (glue SWIG reads annotated C/C++ header files and creates wrapper code (glue
code) in order to make the corresponding C/C++ libraries available to code) in order to make the corresponding C/C++ libraries available to

View file

@ -74,7 +74,6 @@ eswig_SOURCES = CParse/cscanner.c \
Modules/python.cxx \ Modules/python.cxx \
Modules/r.cxx \ Modules/r.cxx \
Modules/ruby.cxx \ Modules/ruby.cxx \
Modules/s-exp.cxx \
Modules/scilab.cxx \ Modules/scilab.cxx \
Modules/swigmain.cxx \ Modules/swigmain.cxx \
Modules/tcl8.cxx \ Modules/tcl8.cxx \

View file

@ -48,7 +48,6 @@ extern "C" {
Language *swig_r(void); Language *swig_r(void);
Language *swig_ruby(void); Language *swig_ruby(void);
Language *swig_scilab(void); Language *swig_scilab(void);
Language *swig_sexp(void);
Language *swig_tcl(void); Language *swig_tcl(void);
Language *swig_xml(void); Language *swig_xml(void);
} }
@ -84,7 +83,7 @@ static TargetLanguageModule modules[] = {
{"-r", swig_r, "R (aka GNU S)", Supported}, {"-r", swig_r, "R (aka GNU S)", Supported},
{"-ruby", swig_ruby, "Ruby", Supported}, {"-ruby", swig_ruby, "Ruby", Supported},
{"-scilab", swig_scilab, "Scilab", Supported}, {"-scilab", swig_scilab, "Scilab", Supported},
{"-sexp", swig_sexp, "Lisp S-Expressions", Supported}, {"-sexp", NULL, "Lisp S-Expressions", Disabled},
{"-tcl", swig_tcl, "Tcl", Supported}, {"-tcl", swig_tcl, "Tcl", Supported},
{"-tcl8", swig_tcl, NULL, Supported}, {"-tcl8", swig_tcl, NULL, Supported},
{"-uffi", NULL, "Common Lisp / UFFI", Disabled}, {"-uffi", NULL, "Common Lisp / UFFI", Disabled},

View file

@ -30,7 +30,7 @@ OCAML and C#. Also several interpreted and compiled Scheme implementations
(Guile, MzScheme, Chicken) are supported. SWIG is most commonly used to create (Guile, MzScheme, Chicken) are supported. SWIG is most commonly used to create
high-level interpreted or compiled programming environments, user interfaces, high-level interpreted or compiled programming environments, user interfaces,
and as a tool for testing and prototyping C/C++ software. SWIG can also export and as a tool for testing and prototyping C/C++ software. SWIG can also export
its parse tree in the form of XML and Lisp s-expressions. its parse tree in the form of XML.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}