This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Using of parse tree externally


<<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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]