From: Grant Rettke <grettke@acm.org>
To: Thomas Gazagnaire <thomas.gazagnaire@inria.fr>
Cc: Vincent Gripon <vincent.gripon@telecom-bretagne.eu>,
caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Compiling Ocaml sources to c sources
Date: Tue, 14 Sep 2010 07:48:31 -0500 [thread overview]
Message-ID: <AANLkTin1Um3DR9wtS=qr1ttkMzWGtr-7HpKbpPxiYiGU@mail.gmail.com> (raw)
In-Reply-To: <1284468428.2252.400.camel@saorge.inria.fr>
OCaml compiled by F# called by C#?
On Tue, Sep 14, 2010 at 7:47 AM, Thomas Gazagnaire
<thomas.gazagnaire@inria.fr> wrote:
> Hi Vincent!
>
> you can try camloo [1] which compiles (old-syntax) caml-light to bigloo,
> which is a scheme to C compiler. I reckon it would be quite easy to
> update it to parse the ocaml syntax if you don't use
> functors/objects/variants/labels/thread (ie. if you use only what is
> available in caml-light).
>
> Cheers,
> Thomas
>
> [1] http://www-sop.inria.fr/members/Thomas.Gazagnaire/
>
>
> On Tue, 2010-09-14 at 14:09 +0200, 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
>
>
> _______________________________________________
> 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
>
--
http://www.wisdomandwonder.com/
ACM, AMA, COG, IEEE
next prev parent reply other threads:[~2010-09-14 12:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 12:09 Vincent Gripon
2010-09-14 12:16 ` [Caml-list] Compiling Ocaml sources to c sources [NC] Rabih CHAAR
2010-09-14 12:35 ` [Caml-list] Compiling Ocaml sources to c sources David MENTRE
2010-09-15 13:18 ` Vincent Gripon
2010-09-15 19:59 ` Basile Starynkevitch
2010-09-15 22:16 ` Vincent Gripon
2010-09-14 12:43 ` Basile Starynkevitch
2010-09-15 12:59 ` Vincent Gripon
2010-09-15 17:36 ` Jon Harrop
2010-09-15 18:17 ` Eray Ozkural
2010-09-15 20:37 ` Jon Harrop
2010-09-16 0:38 ` Eray Ozkural
2010-09-16 9:05 ` Fabrice Le Fessant
2010-09-16 10:46 ` Eray Ozkural
2010-09-16 11:11 ` Fabrice Le Fessant
2010-09-14 12:47 ` Thomas Gazagnaire
2010-09-14 12:48 ` Grant Rettke [this message]
2010-09-15 13:04 ` Vincent Gripon
2010-09-15 19:57 ` Basile Starynkevitch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTin1Um3DR9wtS=qr1ttkMzWGtr-7HpKbpPxiYiGU@mail.gmail.com' \
--to=grettke@acm.org \
--cc=caml-list@yquem.inria.fr \
--cc=thomas.gazagnaire@inria.fr \
--cc=vincent.gripon@telecom-bretagne.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox