The Objective Caml
programmer that needed to interface its program with Java
had to use OJacare
. OJacare is a code generator that bridges Java and Objective Caml objects. It does so by using a low level C interface and is built upon the camljava
library. By using Cadmium
whether alone or with Cafesterol
, it is possible to run an Objective Caml program on a Java Virtual Machine. It is then particularly interesting to access Java classes from the Objective Caml program. This can be done in plain Cadmium by using the Cadmium runtime library that allows calls to Java reflection methods. However, when numerous Java elements need to be used, it is far more convenient to use Nickel. Nickel is a bridge generator that produces Java, C and OCaml files.
Moreover, since version 1.1, Nickel features a generator that is able to create bindings to databases through a JDBC driver. Such bindings will be type-safe in the sense that the signature of the produced bindings will be determined at generation-time from the metadata of the database.
Nickel is released under the GPL v3.
It is copyright (c) 2007-2010 Xavier Clerc.
In order to improve the project, I am primarily looking for testers and bug reporters. Pointing errors in documentation and indicating where it should be enhanced is also very helpful.
The bug tracker
and the wiki
are ideal places to contribute.
repository is http://nickel.x9c.fr
(read-only, useful to always get the last version).