From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=FORGED_YAHOO_RCVD autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id C9781BBAF for ; Fri, 3 Oct 2008 07:33:17 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwCAGxL5UjYi+yenGdsb2JhbACBdJFtAQEBAQEICQwHEZ9zgROGX4Fo X-IronPort-AV: E=Sophos;i="4.33,354,1220220000"; d="scan'208";a="17607149" Received: from kuber.nabble.com ([216.139.236.158]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 03 Oct 2008 07:33:17 +0200 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KldHv-0000XP-0o for caml-list@yquem.inria.fr; Thu, 02 Oct 2008 22:33:15 -0700 Message-ID: <19792384.post@talk.nabble.com> Date: Thu, 2 Oct 2008 22:33:15 -0700 (PDT) From: axllaruse To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] - Convert Caml to C/C++, C#, PHP, etc - In-Reply-To: <20081003141811.0cc9fb49.mle+ocaml@mega-nerd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: axllaruse@yahoo.com References: <19791755.post@talk.nabble.com> <20081003141811.0cc9fb49.mle+ocaml@mega-nerd.com> X-Spam: no; 0.00; conceptually:01 syntax:01 ocaml:01 ocaml:01 haskell:01 beginner's:01 bug:01 vbscript:98 beginners:01 wrote:01 wrote:01 caml-list:01 caml-list:01 imperative:01 imperative:01 I would like to convert all the MTASC open source project to C/C++ or PHP. Erik de Castro Lopo-19 wrote: > > axllaruse wrote: > >> I'm searching for some tool that would help me to convert open source >> caml >> (.ml) files to C/C++, C#, VBScript, ASP, and/or PHP. > > Sorry, such a tool doesn't exist. It is probably possible to hire > a person to do the conversion. > >> The main reason for searching a tool that could help me to convert these >> .ml >> files is the following: >> >> 1- I don't have the time to learn another new language. > > Why is that? Lazy? > > The languages you mention are all imperative which means that > conceptually they are all basically the same (the differences > are mostly syntax). > > Ocaml on the other hand is a functional programming language > with imperative and object oriented features. Ocaml is far > more different to all of the languages you mention that any > two of that group. > > Learning Ocaml (or similar languages like Haskell) will teach more > about programmoing that you will ever learn from learning Java > (another imperative programming language). > >> 2- I'm already doing programming in some many languages, that it gets >> annoying. Just think about it. > > I use C, C++, Python and Ocaml regularly and a number of other > languages irregularly. I don't see this as a problem. > >> 3- I don't have problem to learn Caml if in the future I find a company >> that >> required me. > > Jane St Capital has been on the lookout for Ocaml programmers. > > Companies like Microsoft and Intel employ some too. There are > also numerous smaller companies using Ocaml. I work for a small > tech startup and about 50% of the code I write for work is in > Ocaml. > >> Mind while, I would like to spend my time learning how to do >> better algorithms that learning thousand of new languages. > > Ocaml is not about better algorithms its about different > ways of thinking about programming. > >> Please let me know where I can find a program or opensource program that >> could do this task. =) > > Which particular piece of ocaml code is it that you want to > convert? > > Erik > -- > ----------------------------------------------------------------- > Erik de Castro Lopo > ----------------------------------------------------------------- > "life is too long to know C++ well" -- Erik Naggum > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > -- View this message in context: http://www.nabble.com/--Convert-Caml-to-C-C%2B%2B%2C-C-%2C-PHP%2C-etc---tp19791755p19792384.html Sent from the Caml Discuss2 mailing list archive at Nabble.com.