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] - Convert Caml to C/C++, C#, PHP, etc -
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-03 (05:40)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] - Convert Caml to C/C++, C#, PHP, etc -
axllaruse wrote:

> I would like to convert all the MTASC open source project to
> C/C++ or PHP. 

Sorry, but you're crazy.

MTASC is a compiler and compilers are one of the tasks that
Ocaml does better that all of the languages you mention.

Converting the MTASC compiler to a less capable language (yes, C++
is less capable) would be an exercise in extreme Greenspunning:'s_Tenth_Rule

in that you would need to implement in the target language many
features that are built into Ocaml.

Erik de Castro Lopo
"Java is, in many ways, C++--." -- Michael Feldman