From: parthaspanda22@gmail.com
Subject: Re: ASIS?
Date: Fri, 26 Oct 2007 04:58:00 -0700
Date: 2007-10-26T04:58:00-07:00 [thread overview]
Message-ID: <1193399880.704212.257150@e9g2000prf.googlegroups.com> (raw)
In-Reply-To: <877ilafaqw.fsf@ludovic-brenta.org>
>
> 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.
>
> 3) In the worst of cases, regenerating the ASIS data can cause massive
> recompilations and be too slow for interactive use.
The key to this is how thin a layer ASIS is. Regenerating of "ASIS
data"
sounds like data transformation: from an AST to ASIS objects.
Perhaps, this can be avoided.
>
> > Is a C interface available?
>
> Not that I know. Why do you ask?
There is some mention of JSIS(Java) but the link leads
to an unrelated site. A C interface would be very handy
for a C implementation.
Thanks.
next prev parent reply other threads:[~2007-10-26 11:58 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 ` parthaspanda22 [this message]
2007-10-26 12:10 ` ASIS? parthaspanda22
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