From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr 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 EAC18BC58 for ; Wed, 15 Sep 2010 15:10:50 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvkAAIdikEzAbHMMmWdsb2JhbACDG5BMjgwVAQEBAQEICwoHESKwS5IThE10BI0q X-IronPort-AV: E=Sophos;i="4.56,371,1280700000"; d="vcf'?scan'208";a="59316841" Received: from coliposte.enst-bretagne.fr ([192.108.115.12]) by mail2-smtp-roc.national.inria.fr with ESMTP; 15 Sep 2010 15:10:50 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2009.11.10) with ESMTP id o8FDAo6A019400; Wed, 15 Sep 2010 15:10:50 +0200 Received: from courrier.enst-bretagne.fr (smtps.enst-bretagne.fr [10.29.90.4]) by coliposte.enst-bretagne.fr (8.13.7/8.13.7/2009.11.10) with ESMTP id o8FDAjVW019367; Wed, 15 Sep 2010 15:10:48 +0200 Received: from [10.66.144.72] (pc-salsa-elec-072.ext.enst-bretagne.fr [10.66.144.72]) (user=vgripon mech=PLAIN bits=0) by courrier.enst-bretagne.fr (8.13.8/8.13.8/2010.02.22) with ESMTP id o8FDAfb4007469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 15 Sep 2010 15:10:41 +0200 Message-ID: <4C90C61C.3090707@telecom-bretagne.eu> Date: Wed, 15 Sep 2010 15:11:56 +0200 From: Vincent Gripon User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100914 Shredder/3.1.5pre MIME-Version: 1.0 To: Grant Rettke Cc: caml-list@yquem.inria.fr Subject: Re: WAS Re: [Caml-list] Compiling Ocaml sources to c sources References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------040008050100000607020808" X-Virus-Scanned: amavisd-new at enst-bretagne.fr X-Spam: no; 0.00; ocaml:01 basile:01 cheers:01 ocaml:01 planing:01 compilable:01 pointer:01 -output-obj:01 compiler:01 beginner's:01 bug:01 beginners:01 wrote:01 wrote:01 readable:01 X-Attachments: cset="utf-8" name="vincent_gripon.vcf" name="vincent_gripon.vcf" This is a multi-part message in MIME format. --------------040008050100000607020808 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello Grant, This would likely be accepted by the contest, but it would force me to boot on my windows partition (which I prefer not to!). As Basile proposed another working suggestion, we will avoid the use of .Net. The contest is IEEEXtreme programming competition ( http://www.ieee.org/membership_services/membership/students/competitions/xtreme/index.html ). Cheers. On 09/14/2010 02:36 PM, Grant Rettke wrote: > From what I've heard on-list, OCaml and F# are pretty similar; to the > point where F# can compile OCaml. > > You *could* write it in OCaml, compile it under F#, and call the > library from a C# program that only has as 'main' function. > > What contest are you entering? > > On Tue, Sep 14, 2010 at 7:09 AM, Vincent Gripon > wrote: >> Hello, >> >> We are currently planing to participate to a programming contest. This >> contest allows the use of four languages (C/C#/C++/java) but not OCaml. >> >> We would like to use Ocaml as it is to us the language that fits the most >> the kind of exercises proposed. The organizers don't mind if we use OCaml as >> long as we provide an easily compilable C source to them, even if it is not >> readable. >> >> Is there any platform independent way to compile OCaml sources to C >> sources? And if not, do you have any pointer (we gave a try at compiling >> OCaml sources to C object files using the -output-obj option but couldn't >> compile then the resulting file with our C compiler)? >> >> Best, >> >> Vincent >> >> _______________________________________________ >> 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 >> >> > > --------------040008050100000607020808 Content-Type: text/x-vcard; charset=utf-8; name="vincent_gripon.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="vincent_gripon.vcf" begin:vcard fn:Vincent Gripon n:Gripon;Vincent org:Telecom Bretagne;Computer Science and Telecommunications adr:;;Telecom Bretagne - Technopole Brest Iroise;Brest Cedex 3;;29238;France email;internet:vincent.gripon@ens-cachan.org title:PhD Student tel;work:+0033 2 29 00 1586 url:http://perso.eleves.bretagne.ens-cachan.fr/~gripon version:2.1 end:vcard --------------040008050100000607020808--