From: Paul Snively <psnively@mac.com>
To: Joel Reymont <joelr1@gmail.com>
Cc: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Cocoa bindings (again)
Date: Thu, 20 Jul 2006 09:40:44 -0700 [thread overview]
Message-ID: <5A0AA3B4-3ECE-43D5-BBFF-147867A585E1@mac.com> (raw)
In-Reply-To: <304169FE-8DD8-4765-9AF1-A943C5293EEB@gmail.com>
On Jul 18, 2006, at 2:38 PM, Joel Reymont wrote:
> Folks,
>
> I would like to tinker with Cocoa bindings and try to move that
> project forward.
>
> Where should I start from? I would like to take the route of
> parsing Obj-C header files.
>
I agree that this is long overdue. A long time ago, Mike Hamburg,
Jeff Henrikson, and I made noises about working on this, based on
Mike's work on addressing the runtime side of it (he got so far as to
have a somewhat under-performant but usable runtime library
integrating O'Caml with the Objective C runtime based, IIRC, on
Obj.magic) and Jeff pointed out that Frontc, the parser that he used
in his Forklift FFI, had diverged from probably the best one for real-
world use, which is embedded in CIL and intertwined in ways that make
it a challenge to backport. Mike, Jeff, if you're reading this, is
this a fair characterization of your efforts and thoughts?
In any case, I still believe that:
1) It's worth addressing whatever issues need addressing in Mike's work.
2) It's worth resolving what parser to use and, IMHO, how to evolve
Forklift to support generating calls to and from Objective C via
Mike's runtime work.
3) It's worth combining the two to provide the Forklift annotations
to allow calling into and out of Cocoa on Mac OS X.
4) It's worth writing an FRP system for O'Caml a la Yampa for Haskell.
5) It's worth using said FRP system in conjunction with perhaps
<http://ocaml-win32.sourceforge.net>, http://wwwfun.kurims.kyoto-
u.ac.jp/soft/lsl/lablgtk.html, and our Cocoa bindings to create a
truly cross-platform GUI environment for O'Caml.
Thoughts?
> Thanks, Joel
>
> --
> http://wagerlabs.com/
Best regards,
Paul
next prev parent reply other threads:[~2006-07-20 16:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-18 21:38 Joel Reymont
2006-07-19 8:09 ` [Caml-list] " Jean-Marie Gaillourdet
2006-07-20 16:40 ` Paul Snively [this message]
2006-07-20 16:57 ` Joel Reymont
2006-07-20 18:34 ` Paul Snively
2006-07-20 18:47 ` Joel Reymont
2006-07-20 18:54 ` Corey O'Connor
2006-07-20 20:27 ` James Woodyatt
2006-07-20 17:52 ` Chris King
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=5A0AA3B4-3ECE-43D5-BBFF-147867A585E1@mac.com \
--to=psnively@mac.com \
--cc=caml-list@yquem.inria.fr \
--cc=joelr1@gmail.com \
/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).