Chris Quinn wrote:

>>I would to like to somehow integrate the runtime of the Objective Caml
>>language, a variant of ML (byte/native code, garbage collected), into
>>Mozilla.  The sort of interaction-level I envisage for, say, a web
>>page, is for the caml runtime to receive the page in its own format,
>>then inject it, synthesised, into Mozilla at the post-parsing,
>>abstract-syntax stage.  In general I want to interface to the various
>>facilities within Mozilla and essentially direct its operation from
>>the caml runtime.

It sounds like you want to do something like XPConnect 
(http://www.mozilla.org/scriptable/) or PyConnect 
(mozilla/extensions/python) or the RbXPCOM stuff 
(http://rbxpcom.sourceforge.net).  The xptcall library and related bits 
make it possible to interact with XPCOM components written in any 
language, via a standard binary interface.

Mike



Reply via email to