Hello i would like to document a project of openscad files, i had a, scary, look at scanner.l and am wondering if its possible to adapt doxygen to parse also openscad files?
since it parses c it shouldn't be too hard, i am perfectly fine with javadoc style comments, and the only structure that need parsing are functions and modules.... functions look like this: keyword:function name (arguments, ev with default vals) = the function code; e.g. function tighten (angle=90) = [0,0,-1*angle]; modules called subs: keyword: module(arguments, ev with default val) { sub code } e.g. module hex (width=10, height=10, flats= true, center=false){ radius= (flats == true ? width/sin(60)/2 : width/2 ); cylinder (r=radius, h=height, center=center, $fn=6); } to make it perfect, but that one probably will be much harder, usually there are settings vars at the beginning of a file which could need to be documented too, but that one is low priority.... if already it was possible to extract all javadoc, all functions and modules and join the javadoc or create an empty doc stub, that would be great.... so what do i need to do, to achieve this? as sayd, i looked at scanner.l, but didn't understand anything about it :( -- ciao Bruno =========================================== http://nohkumado.eu/, <http://bboett.free.fr>http://aikido.nohkumado.eu/, <http://bboett.free.fr> http://aikido.zorn.free.fr
_______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users