AdaPower Logged in as Guest
Ada Tools and Resources

Ada 95 Reference Manual
Ada Source Code Treasury
Bindings and Packages

Join >
Articles >
Ada FAQ >
Getting Started >
Home >
Books & Tutorials >
Source Treasury >
Packages for Reuse >
Latest Additions >
Ada Projects >
Press Releases >
Ada Audio / Video >
Home Pages >
Links >
Contact >
About >
Login >
Ada Utilities - ASIS Expression Resolver
Utilities for Ada Programming

ASIS_Expression_Resolver calculates the numeric value of an ASIS expression (i.e., where the Element_Kind() is An_Expression) if one can be semantically determined. Integer and floating point literals, named numbers, initialization expressions, 'First and 'Last values, and mathematical expressions can all be processed. Enumeration and character expressions can be evaluated in terms of their components, with the 'Pos, 'Val, 'Pred, and 'Succ attributes all being properly handled. This package can be employed in the calculation of array bounds, range constraints, and wherever an expression is used whose value can be calculated solely through semantic analysis.

For more information about the Ada Semantic Interface Specification (ASIS), visit the ASIS Working Group web site:

Download asis_er.2.0.tgz here

(c) 1998-2004 All Rights Reserved David Botton