ok, then luadoc also doesn't really understand the lua syntax.
the problem i see here is that all the systems mentioned can't even produce a function list without someone manually going through the code and tagging each function, and if not even luadoc understands the lua syntax that would mean that the "tagging" would also have to include info about the function parameters, which amounts to a lot of work if you ask me.
it's not fun to write a tag for every parameter if their names already make their meaning obvious.
example1 : -- param x : the x part of the coordinate.
i'd call that noise rather than documentation.
example2 : -- param dialog : a handle to a dialog object
also rather noise than documentation.
a examples of what i expect from an automatic documentation system (and doxygen does all that for c++ already, so it IS possible):
Code:
function CrossProduct (x1,y1,z1,x2,y2,z2) ... end
with no comment at all should be listed in the generated documentation without anyone having to apply tags manually.
The doc-system should be able to list the function-name and parameter-names
without anyone specifying them manually.
Code:
--- call only after OgreInit
function DoFuncy (x,y,z)
should result in a documentation entry with functionname, parameters, and the little comment above it.
About understanding the lua syntax :
the DocSystem should be able to group methods of the same class together, therefore it needs to understand the lua syntax a bit :
Code:
function gMobilePrototype:Update (mobiledata,equipmentdata) ....
If the documentation system is generic, it relies on someone manually adding this info, which makes it pretty much useless.
It seems that luadoc doesn't do that as well, so it looks like none of the existing documentation systems is really useful.
sorry, but adding such info manually is unacceptable, as it makes maintenance a headache, and clutters the code.
so i guess i'll look into doxygen a bit to check if it can be extended, or start working on that php script to generate some useful documentation automatically, this might be useful for other projects as well.