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 syntax with O'Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-31 (21:45)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] SML syntax with O'Caml

On Mon, Dec 31, 2001 at 04:26:46PM -0500, Alec wrote:

> I understand that O'Caml performs better on benchmarks than other ML
> language family compilers, while O'Caml syntax is (probably
> unfortunately) different from the standard.

The standard? Pfff... let me laugh. The term "standard" in SML is just
a marketing term. SML is not more *a* standard than OCaml.

> Is it possible to get SML syntax with O'Caml "compiler engine"?

You can change the syntax of OCaml using Camlp4. A syntax for SML is
provided, named pa_sml.cmo.

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