Capsules: A data abstraction facility for Pascal

  • Authors:
  • Alessio Giacomucci;Frank L. Friedman

  • Affiliations:
  • -;-

  • Venue:
  • ACM '81 Proceedings of the ACM '81 conference
  • Year:
  • 1981

Quantified Score

Hi-index 0.00

Visualization

Abstract

Described is a data type abstraction facility that has been implemented as an extension to the University of Minnesota Pascal 6000 compiler. The facility provides an encapsulation that establishes a static scope of identifiers with controlled visibility. The facility was developed primarily for instructional purposes for use throughout an undergraduate computer science curriculum in which Pascal is the major language for program implementation. The paper begins with a brief background in which earlier abstraction facilities influencing the development of the capsule are described. Then a description of the capsule and capsule parameterization (generics) facilities is provided, followed by an outline of the implementation of the capsule in a Pascal compiler. Plans for a generic capsule library and some comments concerning the use of the system in undergraduate instruction at Temple university are given in the last section.