* [Caml-list] SML syntax with O'Caml
@ 2001-12-31 21:26 Alec
2001-12-31 21:45 ` Daniel de Rauglaudre
0 siblings, 1 reply; 3+ messages in thread
From: Alec @ 2001-12-31 21:26 UTC (permalink / raw)
To: caml-list
Hi
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. Is it possible to get SML syntax with O'Caml "compiler
engine"?
Thanks
Alec
P.S. Happy New Year!
-------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] SML syntax with O'Caml
2001-12-31 21:26 [Caml-list] SML syntax with O'Caml Alec
@ 2001-12-31 21:45 ` Daniel de Rauglaudre
0 siblings, 0 replies; 3+ messages in thread
From: Daniel de Rauglaudre @ 2001-12-31 21:45 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Caml-list] SML syntax with O'Caml
@ 2002-01-03 4:18 Gregory Morrisett
0 siblings, 0 replies; 3+ messages in thread
From: Gregory Morrisett @ 2002-01-03 4:18 UTC (permalink / raw)
To: Daniel de Rauglaudre, caml-list
>The standard? Pfff... let me laugh. The term "standard" in SML is just
>a marketing term. SML is not more *a* standard than OCaml.
I beg to differ. There are a number of implementations
of Standard ML from different "vendors" (e.g., SML/NJ, PolyML,
MLKit, MoscowML, MLton, etc.) In addition, there are books
describing the standard language and library. The former is
relatively formal when compared to most language definitions.
In contrast, Ocaml is implemented by one group and has no
"definition". Rather, the implementation largely defines
the language.
I do not say these things with any implied judgment that
one approach is better than the other. But I do believe
that "standard" is more than a marketing term for SML.
-Greg
-------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-01-03 4:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-31 21:26 [Caml-list] SML syntax with O'Caml Alec
2001-12-31 21:45 ` Daniel de Rauglaudre
2002-01-03 4:18 Gregory Morrisett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox