* CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker?
@ 2009-04-12 17:37 Ian S. Worthington
2009-04-12 17:47 ` [Caml-list] " Stéphane Glondu
0 siblings, 1 reply; 4+ messages in thread
From: Ian S. Worthington @ 2009-04-12 17:37 UTC (permalink / raw)
To: caml-list
Hi --
I recently came across a syntax generator program called SYNGEN, written in
1995 by Jens Klöumlcker.
My attempts to email Jens at the two addresses I've found for him have
bounced, so I'm wondering if someone here might be able to help me.
SYNGEN is written in Caml Special Light. Trying to run the bytecode and
source on the latest version of OCMAL doesn't work. As I've no experience
with the language I'm not sure I could get them working in short order.
I've been able to track down a version of the source for CSL in the obsolete
folder of the inria ftp site, but the promised Windows executable is not
there.
Before I launch into the task of trying to compile a 15 year old program using
modern C compilers, which I suspect isn't going to be straightforward, I
thought I'd ask here if anyone knows where I might find a prebuilt binary of
CSL (CSLRUN etc?) for Windows.
Or are the differences between CSL and OCAML so slight that someone with no
experience should be able to get it working quickly?
Thanks,
ian
...
Ian S. Worthington, MBCS.
me: http://isw.me.uk/
photos: http://gallery.isw.me.uk/
Free 2GB online backups:
https://mozy.com/?code=HJW4C8 (code gets you 256MB extra)
Web hosting and support from $2.99/month:
www.cirtexhosting.com/affiliates/idevaffiliate.php?id=463
Dulce et decorum est pro patria mori, sed dulcius pro patria vivere, et
dulcissimus pro patria biber. Ergo, bibiamo pro salute patriae.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker?
2009-04-12 17:37 CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker? Ian S. Worthington
@ 2009-04-12 17:47 ` Stéphane Glondu
2009-04-12 17:53 ` Adrien
2009-04-12 18:32 ` blue storm
0 siblings, 2 replies; 4+ messages in thread
From: Stéphane Glondu @ 2009-04-12 17:47 UTC (permalink / raw)
To: Ian S. Worthington; +Cc: caml-list
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.
Cheers,
--
Stéphane
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker?
2009-04-12 17:47 ` [Caml-list] " Stéphane Glondu
@ 2009-04-12 17:53 ` Adrien
2009-04-12 18:32 ` blue storm
1 sibling, 0 replies; 4+ messages in thread
From: Adrien @ 2009-04-12 17:53 UTC (permalink / raw)
To: Stéphane Glondu; +Cc: Ian S. Worthington, caml-list
The differences are small.
You should read "The big picture" [1]. An automatic converter is
mentionned (and still accessible) at the bottom of the page.
[1] http://caml.inria.fr/pub/old_caml_site/ocaml/bigpicture.html
Hope this helps
---
Adrien Nader
On 12/04/2009, 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.
>
>
> Cheers,
>
> --
> Stéphane
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker?
2009-04-12 17:47 ` [Caml-list] " Stéphane Glondu
2009-04-12 17:53 ` Adrien
@ 2009-04-12 18:32 ` blue storm
1 sibling, 0 replies; 4+ messages in thread
From: blue storm @ 2009-04-12 18:32 UTC (permalink / raw)
To: Stéphane Glondu; +Cc: Ian S. Worthington, caml-list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-12 18:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-12 17:37 CSL executable for Windows, 1995 vintage. Or Jens Klöumlcker? 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox