comp.lang.ada
 help / color / mirror / Atom feed
From: parthaspanda22@gmail.com
Subject: Re: ASIS?
Date: Fri, 26 Oct 2007 05:10:51 -0700
Date: 2007-10-26T05:10:51-07:00	[thread overview]
Message-ID: <1193400651.105865.109310@q5g2000prf.googlegroups.com> (raw)
In-Reply-To: <1193399880.704212.257150@e9g2000prf.googlegroups.com>

On Oct 26, 4:58 pm, parthaspand...@gmail.com wrote:
> > 2) The ASIS interface can only be provided on legal, compiling program
> >    text.  Any program with compile-time errors in it would be
> >    impossible to browse (using the source browser) and the editor
> >    would have to be particularly smart in deciding when to call the
> >    compiler to regerenate the ASIS information.
>
> There is a solution to this:
>
> 1) If a file compiles successfully, then use ASIS.
> 2) If a file compiles with errors then first use ASIS and then do
> grep.
>

I will elaborate on this a little more.
If, for instance, a source browser wants to get to
the definition of a symbol, then it doesnt matter
that there was a compilation error. The first (erroneous)
definition site would be emitted as an ASIS
record. However, if the type of an object
is required to be navigated to, then,
we need compilation artefacts(an ASIS binding
to an AST or some IL).





  reply	other threads:[~2007-10-26 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26  9:47 ASIS? parthaspanda22
2007-10-26 10:09 ` ASIS? Ludovic Brenta
2007-10-26 11:58   ` ASIS? parthaspanda22
2007-10-26 12:10     ` parthaspanda22 [this message]
2007-10-26 12:29   ` ASIS? Niklas Holsti
2007-10-26 13:00     ` ASIS? parthaspanda22
2007-10-26 13:43       ` ASIS? Niklas Holsti
2007-10-26 14:40         ` ASIS? parthaspanda22
2007-10-27 12:21           ` ASIS? Niklas Holsti
2007-10-27  0:15     ` ASIS? Randy Brukardt
replies disabled

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