ASIS
Ada Semantic Interface Specification
ASIS, the Ada Semantic Interface Specification, is a library that gives applications access to the complete syntactic and semantic structure of an Ada compilation unit. This library is typically used by tools that need to perform some sort of static analysis on an Ada program.
ASIS is an international standard (ISO/IEC 15291:1995), and is designed to be compiler independent. Thus a tool that processes the ASIS representation of a program will work regardless of which ASIS implementation has been used. ASIS-for-GNAT is AdaCore’s implementation of the ASIS standard, for use with the GNAT Pro Ada development environment and toolset.
Typical ASIS-for-GNAT applications include:
- Static Analysis (property verification)
- Code Instrumentation
- Design and Document Generation Tools
- Metric Testing or Timing Tools
- Dependency Tree Analysis Tools
- Type Dictionary Generators
- Coding Standards Enforcement Tools
- Language Translators (e.g., to CORBA IDL)
- Quality Assessment Tools
- Source Browsers and Formatters
- Syntax Directed Editors
AdaCore has used ASIS-for-GNAT to develop a number of tools:
- gnatelim
Detects and eliminates unused subprograms, on a partition-wide basis
- gnatstub
Generates stubbed compilable bodies from specs
- gnatcheck
Coding standard verification tool
- gnatpp
Produces pretty-printed version of program
- gnatmetric
Analyzes source code to calculate a set of commonly used industry metrics
More GNAT Pro Toolsuite Components
Extend the Power of GNAT Pro (Add-On Technologies)
More on GNAT Pro
Learn about the other side of GNAT Pro
The world’s largest team of Ada experts at your fingertips
Continue Reading
Like Ada, the GNAT Pro package was designed with quality in mind. Whether you’re doing native, embedded or safety-critical development, learn how this well-crafted combination of tools and services allows your team to take full advantage of the benefits that Ada offers, and helps ensure a smooth, cost-effective development process.
Continue Reading