With regards to Swift, maybe this is of interest:
https://stackoverflow.com/questions/49008780/does-doxygen-headerdoc-supports-swift-4-0
 
<https://stackoverflow.com/questions/49008780/does-doxygen-headerdoc-supports-swift-4-0>

With regards to Kotlin, there is an outstanding feature request:
https://github.com/doxygen/doxygen/issues/6629 
<https://github.com/doxygen/doxygen/issues/6629>

The Doxygen documentation explains pretty well which techniques you can use to 
make Doxygen understand new languages:
* Either create a pre-parse filter that can translate the language reasonably 
well into one of the builtin supported languages. The technique is mentioned 
quite clearly, the details of making it happen are a bit terse, but in the end 
you’ll get it setup quickly after some fiddling around (I managed to setup a 
pre-filter written in Python that translates Eagle into C; in other words: you 
can get quite far)
* Creating a filter has limitations though and only gets you so-far. It you 
really want full and native support, you will have to implement the relevant 
flex/bison files to parse the language. This technique is mentioned in the 
manual, but I have never been able to find more detailed information on this 
technique, other than that it can be done.

My gut feeling regarding Swift and Kotlin is that they are different enough 
from supported languages that you probably want to go the flex/bison route. But 
my expectation is that even if you already know flex/bison very well, it may 
take quite some effort to figure out how to properly set it up for integration 
in Doxygen. But maybe someone else is aware of more technical documentation in 
this direction.

I wish you a lot of wisdom.

Sincerely,
Jakob van Bethlehem


> On 7 Aug 2019, at 23:42, Craig Thompson <craig.thomp...@bigfishgames.com> 
> wrote:
> 
> Anyone have insight in how to make Doxygen support Swift and Kotlin?
>  
> Craig Thompson
> Senior Technical Writer
> Big Fish Games
>  
> _______________________________________________
> Doxygen-users mailing list
> Doxygen-users@lists.sourceforge.net 
> <mailto:Doxygen-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/doxygen-users 
> <https://lists.sourceforge.net/lists/listinfo/doxygen-users>
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to