This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using of parse tree externally
- To: gcc at gcc dot gnu dot org, guerby at acm dot org
- Subject: Re: Using of parse tree externally
- From: dewar at gnat dot com (Robert Dewar)
- Date: Fri, 20 Oct 2000 17:07:12 -0400 (EDT)
- Cc: dewar at gnat dot com, espie at quatramaran dot ens dot fr, mark at codesourcery dot com
<<Some more information for non Ada folks, the API Robert mention is not
specific to GNAT, but is an implementation of the ASIS standard (ASIS
= Ada Semantic Interface Specification, ISO/IEC 15291:1999), which is
basically a large Ada API to access the compiler inner knowledge of
any compiled Ada program.
>>
No, that's incorrect, Laurent is confused. The API I am talking about
is a low level API to read the AST directly.
Yes, we provide an ASIS interface but that is a different level entirely
(it is built on top of the API that I was describing). If anyone is
interested in looking further, the GNAT sources (sinfo.ads and einfo.ads
describing the AST, and tree_in.ads/adb, the API for reading the tree)
have full documentation.