2005/9/10, Marcus <<a href="mailto:mathpup@mylinuxisp.com">mathpup@mylinuxisp.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
That is not entirely correct. GCCXML does not handle uninstantiated templates.<br>Instantiated templates do appear in the output. GCCXML uses GCC for its<br>parsing, so it is capable of parsing anything GCC can. It is just that
<br>uninstantiated templates are not handled by the part that analyzes the parsed<br>code and produces the XML.</blockquote><div><br>
That is good, so. Now we have something concrete.<br>
 </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have written an app that reads in GCCXML input and represents the various<br>C++ declarations as objects and such. It does not yet handle templates. I
<br>have not looked at this in a few months. </blockquote><div><br>
My idea is to separate 3 stages:<br>

1 - query the C++ for classes, functions and enums, and all Qt specific info (not sure if GCCXML can handle this part)<br>

2 - select which of them will be wrapped with meta-data info, like hints. With this hints, everyone can make your own bindings,
respecting every language features and limitations.<br>

3 - Generate the bindings (this is specific for each language). It may also be the Smoke library.<br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It is written in C#, which seems to<br>be hated by anyone who deals with KDE, however.
<br></blockquote></div><br>
Hehehe, don't be sad. This work intent is to be language free. That is
the more important and noble goal. Keep people "tastes" aside.<br>
<br>
[Eric Jardim]<br>