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.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 8D478BBAF for ; Fri, 3 Oct 2008 11:51:03 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiECAOOH5UiC5gQqa2dsb2JhbACTYQ0LCQgOp2iBaA X-IronPort-AV: E=Sophos;i="4.33,356,1220220000"; d="scan'208";a="15619076" Received: from mail.cs.tut.fi ([130.230.4.42]) by mail2-smtp-roc.national.inria.fr with ESMTP; 03 Oct 2008 11:51:03 +0200 Received: from amavis2.cs.tut.fi (amavis2.cs.tut.fi [130.230.4.70]) by mail.cs.tut.fi (Postfix) with ESMTP id 1C9BD4D61 for ; Fri, 3 Oct 2008 12:51:00 +0300 (EEST) Received: from mail.cs.tut.fi ([130.230.4.42]) by amavis2.cs.tut.fi (amavis2.cs.tut.fi [130.230.4.70]) (amavisd-maia, port 10024) with ESMTP id 28612-04 for ; Fri, 3 Oct 2008 12:50:59 +0300 (EEST) Received: from modeemi.modeemi.cs.tut.fi (modeemi.modeemi.cs.tut.fi [130.230.72.134]) by mail.cs.tut.fi (Postfix) with ESMTP id 11FFF4D60 for ; Fri, 3 Oct 2008 12:50:58 +0300 (EEST) Received: from jolt.modeemi.cs.tut.fi (jolt.modeemi.cs.tut.fi [130.230.72.144]) by modeemi.modeemi.cs.tut.fi (Postfix) with ESMTP id 4ADD622200 for ; Fri, 3 Oct 2008 12:50:28 +0300 (EEST) Received: by jolt.modeemi.cs.tut.fi (Postfix, from userid 17990) id DC8834F9CC; Fri, 3 Oct 2008 12:50:27 +0300 (EEST) From: Erkki Seppala To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] - Convert Caml to C/C++, C#, PHP, etc - References: <19791755.post@talk.nabble.com> Date: Fri, 03 Oct 2008 12:50:26 +0300 In-Reply-To: <19791755.post@talk.nabble.com> (axllaruse@yahoo.com's message of "Thu, 2 Oct 2008 21:03:29 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.18 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.2 X-Spam: no; 0.00; compiler:01 o'caml:01 vbscript:98 blog:98 caml-list:01 writes:01 caml:02 caml:02 compiling:02 programming:03 library:03 asp:94 conversions:05 likely:08 mean:08 axllaruse writes: > 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. > > The main reason for searching a tool that could help me to convert these .ml > files is the following: Actually I didn't find a real reason from the list: what are you going to do with the resulting program after conversion? Any results of conversion would likely be very difficult to work with. If you just want to run the programs, you should be able to do that without conversions, other than compiling the code. If you want to use it as a library, well, that might be more difficult. I believe there is a project to enable that for the .NET environment though. There is one compiler that is similar to what you're looking for: http://skydeck.com/blog/programming/ocamljs-ocaml-to-javascript-compiler/ I do wonder if you can make any use of that, though. Developing it further would mean learning O'Caml ;). -- _____________________________________________________________________ / __// /__ ____ __ http://www.modeemi.fi/~flux/\ \ / /_ / // // /\ \/ / \ / /_/ /_/ \___/ /_/\_\@modeemi.fi \/