Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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:

   http://en.wikipedia.org/wiki/Greenspun's_Tenth_Rule

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

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