Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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:  FAQ:
To unsubscribe, mail  Archives: