comp.lang.ada
 help / color / mirror / Atom feed
* Ada Code Browsing
@ 1988-12-20 16:48 Lynn Slater
  0 siblings, 0 replies; only message in thread
From: Lynn Slater @ 1988-12-20 16:48 UTC (permalink / raw)


> I would like to hear from anyone who has developed an on-line Ada
> browser (either standalone, or part of another tool, such as Emacs).

Ada Gnu emacs with tags up will find the code for you.  it is only as
smart as the tags generator (vendor specific).

> In particular, what I am interested in is how your browser expects to
> find comments associated with an Ada declaration.

So far, it relies on screen scrolling.  A simple change would be to
start the top line of the window at the first of those comment lines
which preceed the declaration but without any non-blank breaks.
You will then see as much as your window will hold.

An enhancement of this could merge ada mode and outline mode to hide
all but the declaration and associated comments.

> The
> browser can make use of the 'Reserved comment words' "Purpose,
> Pre-Conditions, Post-Conditions, and Exceptions" in some manner.

Unless this header is some sort of non-proprietary and generally
accepted standard, you will have to do this yourself.  (This is not
difficult.)

-- Lynn
===============================================================
Lynn Slater -- lrs@esl.com
ESL/TRW 495 Java Drive, Box 3510, Sunnyvale, Ca 94088-3510
Office (408) 738-2888 x 4482; Home (415) 796-4149 
===============================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1988-12-20 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-12-20 16:48 Ada Code Browsing Lynn Slater

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