Implementing internal program representations with Ada and Ada 9X

  • Authors:
  • Arthur G. Duncan

  • Affiliations:
  • ALIMAR Software Research, Schenectady, New York

  • Venue:
  • TRI-Ada '94 Proceedings of the conference on TRI-Ada '94
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

In an earlier paper, the author discussed the use of Ada to implement the internal program representation for an Ada software re-engineering system. While many of Ada's features were used to advantage in the implementation, the lack of an inheritance mechanism and an expressive subtyping system make the implementation unnecessarily cumbersome and insecure.Had Ada 9X been available at the time, we could have achieved a simpler, more readable, and more secure design; furthermore, the implementation (most likely) would have been more efficient.Contrasting the Ada and Ada 9X implementations leads naturally to some observations on how one could build tools to convert Ada legacy code to Ada 9X.