The Caml Light bazaar contains some useful and thoroughly tested software for Caml Light.
It is freely available at
ftp://ftp.inria.fr/lang/caml-light/bazar-cl
.
It offers the following libraries:
Graphics
window of the language. Handles 2
formats: PPM and BMP. Treats transparencies as an additional image
type of the PPM format (an image that features transparent parts is
given a companion bitmap image that defines the transparent areas of
the main image).Graphics
library of Caml Light. Alternatively, you can
consider this library as an easy way to print your drawings written by
Caml programs that use the Graphics library. The library also
generates so-called Encapsulated PostScript to incorporate your
drawings into a TeX (or LaTeX) file output.ledit
provides a command history
recording facility. Use ledit -x -h ~/.caml-history -c
camllight
to record your input into the file
.caml-history
while using Caml Light. You can also alias
the command camllight
to systematically use
ledit
, by adding to your .bashrc
(or
.cshrc
or .tcshrc
) the following line:
alias camllight='ledit -x -h ~/.caml-history -c camllight'Ledit is written in Caml and uses the library
unix.za
.See the INSTALL
file to intall the entire bazaar.
For more info about the libraries, read the corresponding
documentation in the sub-directory doc
of each library.
Enjoy the Caml Light bazaar!
Pierre Weis.