caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Andrew Webb <andrew.webb@gmail.com>
To: <caml-list@yquem.inria.fr>
Subject: Ocaml, Objective-c, and XCode
Date: Thu, 11 Feb 2010 14:28:06 +1300	[thread overview]
Message-ID: <etPan.4b735d26.6b8b4567.81@Macintosh-234.local> (raw)

Hi there,

I have a few questions relating to using Ocaml with objective-c for anyone who programs on a Mac. I am aware that there aren't any real bindings between ocaml and objective-c/cocoa, so I am investigating rolling my own. So:

1) Does anyone have experience in interfacing ocaml and objc? Is it difficult?
2) Does anyone have a small example project that does mix these two languages? I have looked at unison, but it is too big for me to get my head around. I am thinking more on the scale of the ubiquitous Currency Converter...
3) Does anyone who is mixing these languages use Xcode to do so? If so, what steps do you need to go through to set that up?

A big thanks to anyone who can answer (some of) these questions. I am trying to decide whether to use haskell or ocaml for my next cocoa application, as these are the two languages I am most comfortable. I have recently found an excellent description of how to do this using haskell (http://tscheff.blogspot.com/2010/02/currync-converter-using-haskell-with.html) and was wondering if there were such resources for ocaml.

Thanks,
Andrew


             reply	other threads:[~2010-02-11  1:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11  1:28 Andrew Webb [this message]
2010-02-11 11:16 ` [Caml-list] " John Whitington
2010-02-12 21:29 dynasticon

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=etPan.4b735d26.6b8b4567.81@Macintosh-234.local \
    --to=andrew.webb@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).