Mark and setup OCaml as an experimental target language.

Issue #1437
This commit is contained in:
William S Fulton 2019-02-11 09:06:28 +00:00
commit ad7f9cd8d7
9 changed files with 16 additions and 7 deletions

View file

@ -395,6 +395,11 @@ matrix:
env: SWIGLANG=mzscheme env: SWIGLANG=mzscheme
sudo: required sudo: required
dist: trusty dist: trusty
- compiler: gcc
os: linux
env: SWIGLANG=ocaml
sudo: required
dist: trusty
before_install: before_install:
- date -u - date -u

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-11: wsfulton
[OCaml] #1437 OCaml has been give the 'Experimental' language status. The examples work
and most of the test-suite is also working, so it is quite close to being a 'Supported' language.
2019-02-10: ZackerySpytz 2019-02-10: ZackerySpytz
#1450 Add support for C++11 UCS-2 and UCS-4 character literals. Also add support for #1450 Add support for C++11 UCS-2 and UCS-4 character literals. Also add support for
C++17 UTF8 character literals. C++17 UTF8 character literals.

View file

@ -7,7 +7,7 @@
</head> </head>
<body bgcolor="#ffffff"> <body bgcolor="#ffffff">
<H1><a name="Ocaml">28 SWIG and Ocaml</a></H1> <H1><a name="Ocaml">28 SWIG and OCaml</a></H1>
<!-- INDEX --> <!-- INDEX -->
<div class="sectiontoc"> <div class="sectiontoc">
<ul> <ul>

View file

@ -117,7 +117,7 @@ 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
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
SWIGPERL Defined when using Perl SWIGPERL Defined when using Perl
SWIGPHP Defined when using PHP (any version) SWIGPHP Defined when using PHP (any version)

View file

@ -125,7 +125,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
-ocaml - Generate Ocaml wrappers
-octave - Generate Octave wrappers -octave - Generate Octave wrappers
-perl5 - Generate Perl 5 wrappers -perl5 - Generate Perl 5 wrappers
-php7 - Generate PHP 7 wrappers -php7 - Generate PHP 7 wrappers
@ -138,6 +137,7 @@ Supported Target Language Options
Experimental Target Language Options Experimental Target Language Options
-mzscheme - Generate MzScheme/Racket wrappers -mzscheme - Generate MzScheme/Racket wrappers
-ocaml - Generate OCaml wrappers
General Options General Options
-addextern - Add extra extern declarations -addextern - Add extra extern declarations

View file

@ -47,7 +47,6 @@ Last update : SWIG-4.0.0 (in progress)
<li><a href="Java.html#Java">Java support</a></li> <li><a href="Java.html#Java">Java support</a></li>
<li><a href="Javascript.html#Javascript">Javascript support</a></li> <li><a href="Javascript.html#Javascript">Javascript 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="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>
<li><a href="Perl5.html#Perl5">Perl5 support</a></li> <li><a href="Perl5.html#Perl5">Perl5 support</a></li>
<li><a href="Php.html#Php">PHP support</a></li> <li><a href="Php.html#Php">PHP support</a></li>
@ -62,6 +61,7 @@ Last update : SWIG-4.0.0 (in progress)
<ul> <ul>
<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>
</ul> </ul>
<H3><a name="Sections_developers_docs">Developer Documentation</a></H3> <H3><a name="Sections_developers_docs">Developer Documentation</a></H3>

View file

@ -25,7 +25,6 @@ Guile.html
Java.html Java.html
Javascript.html Javascript.html
Lua.html Lua.html
Ocaml.html
Octave.html Octave.html
Perl5.html Perl5.html
Php.html Php.html
@ -35,4 +34,5 @@ Ruby.html
Scilab.html Scilab.html
Tcl.html Tcl.html
Mzscheme.html Mzscheme.html
Ocaml.html
Extending.html Extending.html

View file

@ -52,7 +52,7 @@ run_testcase = \
include $(srcdir)/../common.mk include $(srcdir)/../common.mk
# Overridden variables here # Overridden variables here
# none! SWIGOPT += -w524 # Suppress SWIGWARN_LANG_EXPERIMENTAL warning
# Custom tests - tests with additional commandline options # Custom tests - tests with additional commandline options
# none! # none!

View file

@ -64,7 +64,7 @@ static TargetLanguageModule modules[] = {
{"-lua", swig_lua, "Lua", Supported}, {"-lua", swig_lua, "Lua", Supported},
{"-modula3", NULL, "Modula 3", Disabled}, {"-modula3", NULL, "Modula 3", Disabled},
{"-mzscheme", swig_mzscheme, "MzScheme/Racket", Experimental}, {"-mzscheme", swig_mzscheme, "MzScheme/Racket", Experimental},
{"-ocaml", swig_ocaml, "Ocaml", Supported}, {"-ocaml", swig_ocaml, "OCaml", Experimental},
{"-octave", swig_octave, "Octave", Supported}, {"-octave", swig_octave, "Octave", Supported},
{"-perl", swig_perl5, NULL, Supported}, {"-perl", swig_perl5, NULL, Supported},
{"-perl5", swig_perl5, "Perl 5", Supported}, {"-perl5", swig_perl5, "Perl 5", Supported},