TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Karl Nyberg <[log in to unmask]>
Wed, 15 Dec 2004 07:24:56 -0500
text/plain (17 lines)
ASIS is the Ada Semantic Interface Specification.  It's basically an
abstract interface into the underlying compiler's data structures.  With it,
you can build code that queries the data structures created by the compiler
and then write tools that use those structures.  There's an ASIS4GNAT
project hosted as and there's also an ASIS
library with the OCS PowerAda compiler that I've used.  I suspect other
compilers also provide such an interface.

See for an introduction.

But using an ASIS implementation generally requires starting with compiled
Ada code. I think you're going the other way, right?  What I meant to
suggest was that you look into whether you wanted to map your C++ classes as
a private type, tagged type or variant record based on the methods in use.

-- Karl --