comp.lang.ada
 help / color / mirror / Atom feed
* "Javadoc" for Ada
@ 2002-01-13  7:24 Joseph P Vlietstra
  2002-01-13  8:21 ` tmoran
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Joseph P Vlietstra @ 2002-01-13  7:24 UTC (permalink / raw)


Our company is currently using a home-grown documentation generation
tool that extracts comments from preambles preceding each Ada function/
procedure.  The tool is written in C++ and generates MIF (FrameMaker
Interchange Format) files.

We recently updated our C/C++ preamble standards to be closer to Java
doc comments and use Doxygen (Javadoc for C++) to generate documentation.
We are considering changing our Ada preamble standards in a similar
manner.  Are there any doc comment utilities for Ada similar?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Javadoc" for Ada
  2002-01-13  7:24 "Javadoc" for Ada Joseph P Vlietstra
@ 2002-01-13  8:21 ` tmoran
  2002-01-13 20:29   ` Simon Wright
  2002-01-13  8:38 ` Dr. Michael Paus
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 7+ messages in thread
From: tmoran @ 2002-01-13  8:21 UTC (permalink / raw)


> Are there any doc comment utilities for Ada similar?
  We too have a homegrown utility for documentation.  It parses so in
addition to copying specs and comments, it can link types to their
declarations and uses, as well as parents and children.  It generates
an intermediate form so that a "mail-merge" kind of operation can
override/expand the mechanically generated stuff with manually
created text, to create input to the final .rtf/.htm generator.
  How do other people handle the problem?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Javadoc" for Ada
  2002-01-13  7:24 "Javadoc" for Ada Joseph P Vlietstra
  2002-01-13  8:21 ` tmoran
@ 2002-01-13  8:38 ` Dr. Michael Paus
  2002-01-13 11:59 ` Florian Weimer
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Dr. Michael Paus @ 2002-01-13  8:38 UTC (permalink / raw)


Joseph P Vlietstra wrote:
> 
> Our company is currently using a home-grown documentation generation
> tool that extracts comments from preambles preceding each Ada function/
> procedure.  The tool is written in C++ and generates MIF (FrameMaker
> Interchange Format) files.
> 
> We recently updated our C/C++ preamble standards to be closer to Java
> doc comments and use Doxygen (Javadoc for C++) to generate documentation.
> We are considering changing our Ada preamble standards in a similar
> manner.  Are there any doc comment utilities for Ada similar?

I am not aware of anything like this for Ada but I would be interested to
know if you find something.

Michael



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Javadoc" for Ada
  2002-01-13  7:24 "Javadoc" for Ada Joseph P Vlietstra
  2002-01-13  8:21 ` tmoran
  2002-01-13  8:38 ` Dr. Michael Paus
@ 2002-01-13 11:59 ` Florian Weimer
  2002-01-13 22:51 ` Frode Tennebø
  2002-01-16  9:11 ` Rolf Ebert
  4 siblings, 0 replies; 7+ messages in thread
From: Florian Weimer @ 2002-01-13 11:59 UTC (permalink / raw)


Joseph P Vlietstra <joevl@concentric.net> writes:

> We recently updated our C/C++ preamble standards to be closer to Java
> doc comments and use Doxygen (Javadoc for C++) to generate documentation.
> We are considering changing our Ada preamble standards in a similar
> manner.  Are there any doc comment utilities for Ada similar?

We use an ASIS-based tool for generating documentation.  It extracts
the documentation from comments, and automatically adds documented
entities to the proper index.  Texinfo is the markup language.  The
system is not comparable to JavaDoc, however, because it does not
enforce structure in the documentation comments.

We plan to release this tool under the GPL, but we have to sort out a
few things first.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Javadoc" for Ada
  2002-01-13  8:21 ` tmoran
@ 2002-01-13 20:29   ` Simon Wright
  0 siblings, 0 replies; 7+ messages in thread
From: Simon Wright @ 2002-01-13 20:29 UTC (permalink / raw)


tmoran@acm.org writes:

>   We too have a homegrown utility for documentation.  It parses so in
> addition to copying specs and comments, it can link types to their
> declarations and uses, as well as parents and children.  It generates
> an intermediate form so that a "mail-merge" kind of operation can
> override/expand the mechanically generated stuff with manually
> created text, to create input to the final .rtf/.htm generator.
>   How do other people handle the problem?

That sounds neat (though for informal use I'd find gnathtml more than
adequate).

We're generating code frameworks (well, at the higher levels of the
architecture) from UML, so we're generating documentation from the
model.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Javadoc" for Ada
  2002-01-13  7:24 "Javadoc" for Ada Joseph P Vlietstra
                   ` (2 preceding siblings ...)
  2002-01-13 11:59 ` Florian Weimer
@ 2002-01-13 22:51 ` Frode Tennebø
  2002-01-16  9:11 ` Rolf Ebert
  4 siblings, 0 replies; 7+ messages in thread
From: Frode Tennebø @ 2002-01-13 22:51 UTC (permalink / raw)


On Sunday 13 January 2002 08:24 Joseph P Vlietstra wrote:

> Are there any doc comment utilities for Ada similar?

Take a look at: http://sourceforge.net/projects/adadoc/

It's mostly in french.

 -Frode
-- 
^ Frode Tenneb� | email: frode@tennebo.com | Frode@IRC ^
|  with Standard.Disclaimer; use Standard.Disclaimer;  |



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Javadoc" for Ada
  2002-01-13  7:24 "Javadoc" for Ada Joseph P Vlietstra
                   ` (3 preceding siblings ...)
  2002-01-13 22:51 ` Frode Tennebø
@ 2002-01-16  9:11 ` Rolf Ebert
  4 siblings, 0 replies; 7+ messages in thread
From: Rolf Ebert @ 2002-01-16  9:11 UTC (permalink / raw)


Joseph P Vlietstra <joevl@concentric.net> wrote in message news:<3C413630.A2CEB446@concentric.net>...
> Are there any doc comment utilities for Ada similar?

Have a look at GtkAda (http://libre.act-europe.fr/GtkAda/).  In the
source distribution is a Perl script that extracts the structured
comments (similar to javadoc) and generates a texinfo file.


    Rolf



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-01-16  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-13  7:24 "Javadoc" for Ada Joseph P Vlietstra
2002-01-13  8:21 ` tmoran
2002-01-13 20:29   ` Simon Wright
2002-01-13  8:38 ` Dr. Michael Paus
2002-01-13 11:59 ` Florian Weimer
2002-01-13 22:51 ` Frode Tennebø
2002-01-16  9:11 ` Rolf Ebert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox