Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] SML syntax with O'Caml
Hi,

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.

-- 
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