SwigLib project

C Libraries for LuaTEX
(from http://www.luatex.org/swiglib.html)
The subversion repository is at
https://foundry.supelec.fr/projects/swiglib.
For a rationale updated to Oct. 2013 see rationale. The paper accepted for TUBboat vol.36, no.1 (2015) is here.
There is a shell script build.sh to build a wrapper for Linux 64bit and crosscompile for MicroSoft™ 32bit and 64bit with MinGW compilers. The current version of luatex is luatex-beta-0.79.3.1.

Current bindings

curl (http://curl.haxx.se)

./curl/7.39.0

ghostscript (http://www.ghostscript.com/)

./ghostscript/9.15

graphicsmagick (http://www.graphicsmagick.org)

./graphicsmagick/1.3.21

helpers

This binding should provide a common way to build arrays & pointers for char, int, short, double and support for void.
./helpers/1.0.3

leptonica (http://www.leptonica.com)

./leptonica/1.71

libffi (https://sourceware.org/libffi)

./libffi/3.2.1

mysql (http://www.mysql.com)

./mysql/5.6.14

physicsfs (http://icculus.org/physfs)

./physicsfs/2.0.3

PARI/GP (http://pari.math.u-bordeaux.fr/)

./parigp/2.7.2
The binding has an experimental support for Windows 64bit (not Cygwin). The GMP library is replaced with the API-compatible MPIR.

postgresql (http://www.postgresql.org)

./postgresql/9.3.5-1

qpdf (http://qpdf.sourceforge.net/)

./qpdf/5.1.2

R (http://www.r-project.org)

./R/3.1.2

sqlite (http://www.sqlite.org)

./sqlite/3.8.7.4

usermod

This binding shows how to build your own dso module only with SWIG.
./usermod/1.0.0

ZeroMQ (http://zeromq.org)

./zeromq/4.1.0rc1

attic

These bindings very likely will be moved to the "ground floor", but currently they need some testing. Sometime the version of a wrapper from the ground can stay here for a while, before to be removed.
./attic/pthreads

basement

These bindings could be moved to the "ground floor", but currently they need testing and motivations.
./basement/libxml2/2.9.1
./basement/libxslt/1.1.28

experimental

These bindings explore some ideas and/or are not complete and/or — for some other reason — they are not satisfactory. They can be promoted as the other wrappers, but they can also be deleted or stay here frozen. The build system can be obsolete.
./experimental/bigloo
./experimental/muPDF
./experimental/fontforge
./experimental/harfbuzz
./experimental/gsl

Copyright

Copyright © 2013- Luigi Scarso

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.