Browse thread
[Caml-list] XPCOM (Mozilla object technology) with OCaml?
-
Richard Jones
- Olivier Grisel
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-05-02 (17:44) |
From: | Olivier Grisel <olivier.grisel@e...> |
Subject: | Re: [Caml-list] XPCOM (Mozilla object technology) with OCaml? |
-----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