On 01.02.2016 16:13, Sean Gilligan wrote:
I'm also wondering whether others think groovydoc is just fine as it is,
It's not fine. In my opinion it's one of the biggest frustrations with Groovy.
Especially the fact that you can't use it for both Java (7+) and Groovy.
And Asciidoclet support would be awesome!
we can write a doctool, that can process Groovy and java... maybe even
other languages. And such a tool could then have asciidoc support of
course. I could even imagine supporting existing doclets to some extend....
But hooking into javadoc to make it know a new language is painful.
Because it means to hook into the javac compiler, produce an ast the
compiler understands and then not having proper support for extension
methods and properties or any other thing that goes beyond what java
offers. And on top of that... you are handling internal classes, which
may change in any version of java... and with jdk9 modules they might
not even be normally available anymore. For basically the same reasons I
gave up on a javac based joint compiler for Groovy.
bye Jochen