Hi,<div><br></div><div>I'm developing a small C / C++ / ObjC IDE and I plan to use Clang "behind the wall" for all the highlighting, completion and semantic stuff about the code .</div><div><br></div><div>I know Clang has an -as-xml-output option, but the generated XML is far too complicated to be used as is, and I was wondering if there is some function I'm not aware about, producing XML (or any markup language) more like this tool ( <a href="http://42ndart.org/scalpel/demonstration.html">http://42ndart.org/scalpel/demonstration.html</a> ).</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Tahoma, 'DejaVu Sans', sans-serif; font-size: 12px; line-height: 16px; "><pre class="programlisting" style="font-size: 1.1em; font-family: 'Courier New', 'DejaVu Sans Mono', monospace; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; border-left-width: 5px; border-left-style: solid; border-left-color: rgb(153, 153, 153); padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; background-color: rgb(246, 246, 246); ">
int
main(int argc, char** argv)
{
std::cout << "Hello, World!" << std::endl;
return 0;
}</pre></span></div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Tahoma, 'DejaVu Sans', sans-serif; font-size: 12px; line-height: 16px; "><pre class="programlisting" style="font-size: 1.1em; font-family: 'Courier New', 'DejaVu Sans Mono', monospace; margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; border-left-width: 5px; border-left-style: solid; border-left-color: rgb(153, 153, 153); padding-top: 10px; padding-right: 15px; padding-bottom: 10px; padding-left: 15px; background-color: rgb(246, 246, 246); ">
<namespace>
<function name="main">
<return_type>
<built_in_type type="int"/>
</return_type>
<parameters>
<parameter name="argc">
<type>
<built_in_type type="int"/>
</type>
</parameter>
<parameter name="argv">
<type>
<pointer>
<pointer>
<built_in_type type="char"/>
</pointer>
</pointer>
</type>
</parameter>
</parameters>
</function>
</namespace></pre></span></div><div><br></div><div>Sorry for my poor english, and thanks for this amazing compiler .</div><div><br></div><div>Matthieu.</div>