From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9e9f299a881137c6 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!e9g2000prf.googlegroups.com!not-for-mail From: parthaspanda22@gmail.com Newsgroups: comp.lang.ada Subject: Re: ASIS? Date: Fri, 26 Oct 2007 04:58:00 -0700 Organization: http://groups.google.com Message-ID: <1193399880.704212.257150@e9g2000prf.googlegroups.com> References: <1193392044.600378.120160@i13g2000prf.googlegroups.com> <877ilafaqw.fsf@ludovic-brenta.org> NNTP-Posting-Host: 122.50.192.237 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1193399881 15215 127.0.0.1 (26 Oct 2007 11:58:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 26 Oct 2007 11:58:01 +0000 (UTC) In-Reply-To: <877ilafaqw.fsf@ludovic-brenta.org> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e9g2000prf.googlegroups.com; posting-host=122.50.192.237; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2576 Date: 2007-10-26T04:58:00-07:00 List-Id: > > 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.