English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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:


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