This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using of parse tree externally
- To: dewar at gnat dot com
- Subject: Re: Using of parse tree externally
- From: Laurent Guerby <guerby at acm dot org>
- Date: Sat, 21 Oct 2000 02:02:01 +0200
- CC: gcc at gcc dot gnu dot org, dewar at gnat dot com, espie at quatramaran dot ens dot fr, mark at codesourcery dot com
- References: <20001020210712.33C5F34D8D@nile.gnat.com>
- Reply-to: guerby at acm dot org
> No, that's incorrect, Laurent is confused. The API I am talking about
> is a low level API to read the AST directly.
Well, I'm confused and I can't see why one would want to use the low
level API, which produces platform-dependant files with a binary
format changing from one GNAT version to another (am I right?),
instead of using the standard, stable and portable ASIS API to get
access to semantic information without being tied to the whole
compiler and having to deal with its associated licensing issues
(which is as far as I understand the subject of this discussion).
Could you enlighten us as for what purpose you think the low level API
is relevant (except as an implementation mean for ASIS)?
(I would call what tree_io does a disciplined core dump, real neat
trick ;-)
--
Laurent Guerby <guerby@acm.org>