Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: blue storm <bluestorm.dylc@gmail.com>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: "Ian S. Worthington" <ianworthington@usa.net>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker?
Date: Sun, 12 Apr 2009 20:32:18 +0200	[thread overview]
Message-ID: <527cf6bc0904121132p2f94731ap5659526521a1a139@mail.gmail.com> (raw)
In-Reply-To: <49E2293E.6070008@glondu.net>

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


      parent reply	other threads:[~2009-04-12 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-12 17:37 Ian S. Worthington
2009-04-12 17:47 ` [Caml-list] " Stéphane Glondu
2009-04-12 17:53   ` Adrien
2009-04-12 18:32   ` blue storm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527cf6bc0904121132p2f94731ap5659526521a1a139@mail.gmail.com \
    --to=bluestorm.dylc@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=ianworthington@usa.net \
    --cc=steph@glondu.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox