From: Stefan S. <se...@sy...> - 2004-06-02 21:17:43
|
SF Markus Elfring wrote: > 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 ? > An object-oriented mapping between the sources and the MOP transformation can be used like it is decscribed in the section "1.1.4 Inheritance vs. Flattened Views of the API". > http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1CED5498 > - A node interface is available for OpenC++ at the moment. > - Higher level abstractions and corresponding classes seem to be missing so far. How do you think to define them with the CORBA interface definition language like it is specified for HTML? > http://www.w3.org/TR/DOM-Level-2-HTML/idl-definitions.html yes, that sounds like what I'v been proposing, i.e. deriving more typed classes from 'Ptree' with a more high-level API to access the AST structure. As such an undertaking involves quite a bit of work, I encourage everybody to get involved. Regards, Stefan |