Source code documentation with Doxygen http://www.Doxygen.org isn't limited to C/C#/C++ or Java. Using the FILTERS feature http://www.doxygen.org/config.html#cfg_filter_patterns a filter program can convert the programming language you are using into something like C and that would be used by DoxyGen.
The filter is implemented in C++ using Flex++ and some Boost string operations. You can test how it will convert a file to C from the command-line. Try this:
cat t.q | qoxygen
for a file t.q. On Windows, you might try
type t.q | qoxygen
A context name beginning with a dot will be translated to underscore.
.t.f will be placed in the namespace
_t as function
A context \d .t will appear as the namespace