Previous week Up Next week


Here is the latest Caml Weekly News, for the week of November 17 to 24, 2009.

  1. cppo, C preprocessor for OCaml
  2. Gaussian processes in OCaml
  3. quick consulting job for OCaml developer
  4. Other Caml News

cppo, C preprocessor for OCaml


Martin Jambon announced:
It is my pleasure to announce the first release of cppo, an OCaml-friendly
equivalent of the C preprocessor (cpp).

Cppo provides the classic #include, #define and conditionals (#ifdef, ...)
which are occasionally useful.  Cppo can be used on OCaml files and variants
of OCaml that use the same lexer, such as ocamllex.

The implementation of cppo was tested with ocaml 3.09 to 3.11 and is based on
ocamllex/ocamlyacc (works also with menhir which I used during the

The documentation and the source tarballs are at:

The package is also available from GODI (apps-cppo).
Goswin von Brederlow asked and Martin Jambon answered:
> Without looking at it, is is camlp4 based and can I combine that with
> other camlp4 modules or do I need to seperately preprocess the
> source?

No, cppo is a standalone executable and is independent from camlp4 or camlp5.

Note that the camlp4 world has optcomp:

Gaussian processes in OCaml


Markus Mottl announced:
It is my pleasure to announce the availability of OCaml GPR, a machine
learning library for dealing with Gaussian process regression in
OCaml.  Gaussian processes are the hot thing du jour in machine
learning research, and this library implements a number of the most
recent advances in this field.

The library and manual can be downloaded from here:

A Godi package (gpr) is already available, too.

quick consulting job for OCaml developer


Dave Lewis announced:
I'm looking for someone to modify the OCaml machine learning program Mega M: 

to use the Unix.largefile interface, and provide both source and a version
compiled for Linux. The author (Hal Daume III) has indicated that he believes
this would require only a few hours of work, but doesn't have the time to do
it himself.

This is for an academic project that has run completely out of money, and
almost out of time, well before the work is done, so I'd be paying for this
out of my own pocket. We would contribute the changes back to the author,
hopefully to be distributed through his website.

Please contact me at if you're interested in this
doing this, letting me know what your experience, what you would charge, and
how quickly you would be able to do the job.

Other Caml News

From the ocamlcore planet blog:
Thanks to Alp Mestan, we now include in the Caml Weekly News the links to the
recent posts from the ocamlcore planet blog at

Fury Puyo 0.4:

Mastering Multi-processing:

OCaml on Ubuntu: looking for a new maintainer:

OCaml gettext:

DDC : Man or Boy?:

CamlImages 3.0.2:

Caml examples collection:

Old cwn

If you happen to miss a CWN, you can send me a message and I'll mail it to you, or go take a look at the archive or the RSS feed of the archives.

If you also wish to receive it every week by mail, you may subscribe online.

Alan Schmitt