Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Olivier Grisel <olivier.grisel@ensta.org>
To: Richard Jones <rich@annexia.org>, caml-list@inria.fr
Subject: Re: [Caml-list] XPCOM (Mozilla object technology) with OCaml?
Date: Sun, 02 May 2004 16:56:43 +0200	[thread overview]
Message-ID: <40950C2B.10807@ensta.org> (raw)
In-Reply-To: <20040502131052.GA29335@redhat.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Jones a écrit :
| Has anyone tried wrapping up an OCaml program with XPCOM so it can be
| called from a XUL/Javascript interface?  Python has PyXPCOM, and
| anything they can do we ought to be able to do :-)

That would be a very nice feature for OCaml and an way to easily build
crossplatform GUIs for OCaml programs, and furthermore let you access
interesting XP components such as the SOAP one from OCaml.
(please refer to
http://66.102.11.104/search?q=cache:M_j-hazIPs4J:www.xulplanet.com/references/xpcomref/+SOAP+XPCOM
for a complete list - google cache cause xulplanet is currently down).

I remember  having heard about 2 people interested in such a project on
the french speaking website linuxfr.org:
~  http://linuxfr.org/2004/04/20/16034.html (search for "ocaml" in that
page). I don't I those people are on registered the Caml-list ; in case
they are'nt you can't contact one of them at "vincent22 [a] altern.org"
as mentioned on the page.

As far as I'm concerned, I don't feel competent enough nor have enough
free time right now to help/contribute. However you can count me as a
potential enthusiastic user/tester/bug-reporter should you get something
up and running.

Having looked at the PyXCOM source tree, I couldn't get any clue on how
the ActiveState folks wrapped the XPCOM interface ... No swig nor
Boost.Python reference. I guess they did it all manually ...
http://lxr.mozilla.org/seamonkey/source/extensions/python/xpcom/src/

I guess one could do the same for OCaml however it would be a long and
not-that-pleasant work ... I don't know if there exists a proper wrapper
generator from C++ to OCaml that get the job properly done (swig ?).

Best,
Olivier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAlQwqTsBRE+WZ2SARAsKuAJ4l0CAvBZVd0fiSrUBBCjsrwy7VtgCfY8do
uPHYRc3hhj7PYrhyvK8VE44=
=S8up
-----END PGP SIGNATURE-----

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2004-05-02 17:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-02 13:10 Richard Jones
2004-05-02 14:56 ` Olivier Grisel [this message]

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=40950C2B.10807@ensta.org \
    --to=olivier.grisel@ensta.org \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    /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