Version française
Home     About     Download     Resources     Contact us    
Browse thread
CSL executable for Window s, 1995 vintage. Or Jens Klöumlcker?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: blue storm <bluestorm.dylc@g...>
Subject: Re:_[Caml-list]_CSL_executable_for_Windows,_1995_vin tage._Or_Jens_Klöumlcker?
On Sun, Apr 12, 2009 at 7:47 PM, Stéphane Glondu <steph@glondu.net> wrote:
> Ian S. Worthington a écrit :
>> Or are the differences between CSL and OCAML so slight that someone with no
>> experience should be able to get it working quickly?
>
> IMHO, there might be differences (mostly syntactical or stdlib-related),
> but the translation should be straightforward nonetheless. I'd rather
> convert the program from CSL to OCaml than adapt CSL for a "modern C
> compiler" if it doesn't work out of the box.

I just had a look, and that's a 5-lines-change story.
Here is the diff needed to make it compile with ocaml (3.10) :
bluestorm.info/tmp/syngen/syngen.diff

An example file (from the manual) and the given output (wich I didn't
checked for corectness) :
http://bluestorm.info/tmp/syngen/test.ara
http://bluestorm.info/tmp/syngen/test.syn