From: SF M. E. <el...@us...> - 2004-06-03 15:38:32
|
> > C++ source code can be mapped to XML. Superx++ comes near to such a solution. > > http://en.wikipedia.org/wiki/Superx_Plus_Plus_programming_language > > Having just had little exposure to this, I fail to see the use of this mapping. > Could you provide some rational for such a binding ? In particular, what's the > relationship to introspection and metaprogramming ? If C++ code would be mapped to XML text, the existing infrastructure like XSLT, XQuery and document object model can be used to transform the sources. The mapping between DOM and IDL would be easier, too. Examples: - What should the interface for a constructor be? - How do you design the IDL specification for a method or member function call? |