comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Ada help file indexed by keyword
Date: Wed, 21 Apr 2010 16:48:34 +0200
Date: 2010-04-21T16:48:35+02:00	[thread overview]
Message-ID: <4bcf1043$0$6984$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <hqmrib$b1l$1@heraldo.rediris.es>

On 21.04.10 14:37, Manuel Collado wrote:

> Do you suggest converting every instance of common words like 'with',
> 'use', 'for', 'while', ... into a link to index entries? :-)

Sort of, although I'd put more power into the hands of programmers looking
for information.  For each word, there will have to be some form of
KWIC, where the 'C' is the part to be well defined. Since you outlined
one possibility, I imagine making a ready-to-use help system "for keywords"
will profit from observing the Google generation's approach to finding
information.

(Step 1) In general, if you want to learn about "for", type "for"
into the search box.  The search box will then suggest what you
are looking for, and take you there.

(Step 2) The universe of text to be indexed by the help system
is restricted to text about the syntactic features of Ada.

(Step 3) The one thing that an IDE would need is a
specialized search box by another name (and slightly different
display) supported by the language parser.  Everything else is
readily available, for example via Netscape Lisp
(a.k.a. Javascript). The latter will give you context help for
free. Therefore,

(a) have an Ada parser look for key words,

(b) on some event (mouse etc.) connected with the keyword, have the
system display a ready made sub-document on top of the other
text. (Code doing this is freely available.)

So yes, a link is enough.



  reply	other threads:[~2010-04-21 14:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21  8:03 Ada help file indexed by keyword Manuel Collado
2010-04-21  8:57 ` Ludovic Brenta
2010-04-21 10:34   ` Manuel Collado
2010-04-21 11:04     ` Ludovic Brenta
2010-04-21 12:27       ` Manuel Collado
2010-04-21 12:33         ` Georg Bauhaus
2010-04-21 14:34           ` Manuel Collado
2010-04-21 22:27         ` Randy Brukardt
2010-04-21 11:43 ` Georg Bauhaus
2010-04-21 12:37   ` Manuel Collado
2010-04-21 14:48     ` Georg Bauhaus [this message]
2010-04-21 12:19 ` Gautier write-only
2010-04-21 15:33   ` Manuel Collado
2010-04-21 12:19 ` Kulin Remailer
replies disabled

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