Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] XPCOM (Mozilla object technology) with OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Olivier Grisel <olivier.grisel@e...>
Subject: Re: [Caml-list] XPCOM (Mozilla object technology) with OCaml?
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
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
~ (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]"
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 ...

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 ?).

Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: