[Github-comments] [geany] Gtkdoc hdr (#890)

Matthew Brush notifications at xxxxx
Wed Jan 27 06:08:29 UTC 2016


@kugel- if you output the XML, you can just parse it directly in Python using xml.etree, or external lib like lxml. I had written [something similar](https://github.com/codebrainz/geany/blob/50f76094b06a2d7ae2a9ab7f1f594c052a479078/doc/interface.xslt) in XSLT to transform Doxygen's XML output to usable XML for generating some bindings. I bet one could re-write that XSLT into Python with about the same lines of code, so if that Ruby code doesn't do too much more (I didn't look at it as I don't know Ruby at all) then it should be reasonably simple/short to do it in Python without needing special interpreters and libraries and such.

It might also be possible to import classes from the [Breathe parser](https://github.com/michaeljones/breathe/tree/master/breathe/parser).

@b4n +1, we should be trying to reduce the number of scripting languages used, not adding more. Also, you forgot to mention PHP, we have a PHP script also (at least some core devs know PHP though).



---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/890#issuecomment-175421628
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160126/48720cf7/attachment.html>


More information about the Github-comments mailing list