IMPLEMENTING DATA ABSTRACTION FEATURES IN A STACK-BASED LANGUAGE

被引:6
作者
GANNON, JD
ROSENBERG, J
机构
[1] Department of Computer Science, University of Maryland, College Park, Maryland
[2] Computer Science Department, Carnegie-Mellon University, Pittsburgh, Pennsylvania
关键词
Data abstraction; Separate compilation; Stack implementation;
D O I
10.1002/spe.4380090705
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes SIMPL‐D, a stack‐based language with data abstraction features, and some of the details of its implementation. The language allows users to define new types that are parameterized by size and to perform system‐defined operations (e.g. assignment) on objects with user‐defined types. The use of object‐describing templates in the implementation of storage allocation, assignment and returning values from functions is discussed. Finally, the conflicts between automatic initialization and separate compilation are explained. Copyright © 1979 John Wiley & Sons, Ltd.
引用
收藏
页码:547 / 560
页数:14
相关论文
共 10 条
  • [1] Enderin L., pp. 10-223A, (1974)
  • [2] Liskov B.H., An Introduction to CLU, (1976)
  • [3] Geschke C.M., Morris J.H., Satterthwaite E.H., Early experience with Mesa, Communications of the ACM, 20, pp. 8-553, (1977)
  • [4] Zelkowitz M.V., Larsen H.J., Implementation of a capability‐based data abstraction, IEEE Transactions on Software Engineering, 4, pp. 1-64, (1978)
  • [5] Wulf W.A., Comments in panel session, Software Engineering Notes, 2, pp. 3-17, (1977)
  • [6] Wulf W.A., London R.L., Shaw M., An introduction to the construction and verification of Alphard programs, IEEE Transactions on Software Engineering, 2, pp. 4-265, (1976)
  • [7] Basili V.R., pp. 6-12, (1976)
  • [8] Gannon J.D., Rosenberg J., pp. 55-63, (1978)
  • [9] Shaw M., Hilfinger P., Wulf W.A., TARTAN—language design for the Ironman requirement: reference manual, SIGPLAN Notices, 13, pp. 9-58, (1978)
  • [10] Moss J.E.B., (1978)