![]() |
|
|
XPIDLXPIDL and generating XPCOM interfacesXPIDL is the interface description language used by the xpidl tool to generate interfaces, documentation and scriptability glue for XPCOM interfaces. It closely resembles OMG IDL in syntax, with some extensions to handle IID specification, variable-argument syntax and some additional types. Examples of a preliminary syntax are in the dom/public/idl directory of the Mozilla tree.
What we're generatingFrom the XPIDL input, we hope to generate a number of useful outputs:
How we're generating all that stuffThe current plan is to use the libIDL code from GNOME's ORBit package to parse the IDL, and then generate whatever code/docs/data we need. The esteemed authors of libIDL have agreed to help us with additional syntax, and that was just too good an offer to refuse. The libIDL that comes with RH5.2 isn't quite up-to-scratch, so I'll post a pointer here for newer libIDL RPMs and tarballs. Top Men are working on making sure it all builds on Win32 and Mac as well, so we should have happy news to report on that front shortly.Update: (Tue Nov 24 23:32:36 EST 1998) The xpidl tool has landed in xpcom/tools/xpidl and generates real output. Comments and flames to shaver@netscape.com.
|
|||||||
| Copyright © 1998 The Mozilla Organization. | ||||||||