Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Consortium Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-02-04 (21:06)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: Consortium Caml
> applies to Caml. I found a good book, but I still find that lots
> of more examples are needed. It is very discouraging to
> newcomers to have to ask for every single thing on the list.
> francisco
> Moderator of the Corporate BSD list

[English Abstract]

Francisco asks for examples: a lot of new ones can be found at

[Version française à la fin du message]

Hi Francisco,

You already asked for Caml examples and we agreed you were right to do
so. That's why I worked hard to add a lot of new examples for
Objective Caml: it's a big zoo of about 120 source files that tries to
demonstrate the strength of the language. It ranges from a trivial
``hello world!'' program for beginners to sophisticated examples for
experts only. It uses standalone programs as well as interactive
evaluation at toplevel, byte-code and native (optimizing) compilation.

Some examples are non trivial, for instance, we have a full-fledged
tetris game as the more advanced example to demonstrate the Caml/Tk
GUI. We also have a Knuth-Bendix completion routine for Term-Rewriting
systems experts, a tiny Logo like language implemented in Caml to
demonstrate language manipulation facilities and graphics drawings, a
grep implementation that demonstrates simple interfacing Caml and C,
examples of parsers, lexers, data type definitions, type-checking
algorithms, string manipulation programs, ...

All those examples are freely available and can be found at the
following address:

Have fun!

PS: This is work in progress, so feel free to send remarks and
additions. In particular, new examples are welcome.

[Version française]

Francisco demande des examples: j'ai recueilli un bestiaire d'exemples
pour Caml Light et Objective Caml, à l'adresse suivante:

Pour Caml Light, la nouveauté réside essentiellement dans les exemples
de la GUI (Graphical User Interface) Caml/Tk.

Pour Objective Caml, la nouveauté réside essentiellement dans la
traduction de l'ensemble des exemples qui étaient disponibles pour
Caml Light, plus un certain nombre d'exemples nouveaux (120 fichiers
.ml environ).

Amusez-vous bien!

PS: Ces exemples sont en développement, donc toutes les remarques
constructives extrêmement bienvenues, ainsi que les exemples nouveaux. 

Pierre Weis

INRIA, Projet Cristal,,