Cadmium is both a Java program and library that allows to combine Objective Caml
. As a program, Cadmium acts as a replacement for the ocamlrun program (the Objective Caml virtual machine); it thus allows to run Objective Caml bytecode files. As a library, Cadmium acts as the runtime support of Cafesterol-compiled files. Cafesterol
is a compiler that is the Java counterpart of ocamlc/ocamlopt.
Cadmium is designed to be a pure Java program working on any JVM version 1.6 or above, it does not rely on JNI / native code. It is also different from JavaCaml
in that JavaCaml needs to use a special runtime when compiling with ocamlc. At the opposite, Cadmium can run an Objective Caml bytecode file compiled with traditional options. It strives to be as compatible as possible
Cadmium is released under the LGPL 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://cadmium.x9c.fr
(read-only, useful to always get the last version).