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
[Caml-list] SML -> OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-10 (06:51)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] SML -> OCaml
Hi,

On Sat, Dec 08, 2001 at 10:50:28AM -0800, Jurgen Botz wrote:

> Is there an SML -> OCaml translator?  I have some SML programs I'd like
> to convert... even something that only partly works would save me a fair
> amount of tedium.

You can try:
     camlp4 pa_sml.cmo pr_o.cmo your_file.ml

But it is probably incomplete: you may get syntax errors.
And even if it is ok, you probably have to change things by hands.
You can ask me if you want me to complete of fix some bugs.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr