English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Moving from caml Light to CSL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1996-02-15 (12:55)
From: raffalli@l...
Subject: Re: Moving from caml Light to CSL

I also faced the problem of having compatibility between CSL and CL. I choosed
to use the tool "convert" coming with the distribution. Then if you capitalize
your Constructors and record fields in the right way, if you do not use where
and limit fun to single case matching, then the result produced by convert
seems directly compilable by CSL. So I have only to modify my caml code to
respect the above convention and I can produce directly usable CSL code in an
automatic way (thanks to convert).

This is better than having small functions because, as far as I know there is
still no inlining in csl.

Christophe Raffalli
Dept. of Computer Sciences
Chalmers University of Technology

URL: http://www.logique.jussieu.fr/www.raffalli