Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: raffalli@l...
Subject: Re: Moving from caml Light to CSL


Hi,
   
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