| Type extensions |
| Full text |
Pdf
(803 KB)
|
| Source
|
ACM Transactions on Programming Languages and Systems (TOPLAS)
archive
Volume 10 , Issue 2 (April 1988)
table of contents
Pages: 204 - 214
Year of Publication: 1988
ISSN:0164-0925
|
|
Author
|
|
N. Wirth
|
Institut fu¨r Informatik, Zurich, Switzerland
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 59, Citation Count: 25
|
|
|
ABSTRACT
Software systems represent a hierarchy of modules. Client modules contain sets of procedures that extend the capabilities of imported modules. This concept of extension is here applied to data types. Extended types are related to their ancestor in terms of a hierarchy. Variables of an extended type are compatible with variables of the ancestor type. This scheme is expressed by three language constructs only: the declaration of extended record types, the type test, and the type guard. The facility of extended types, which closely resembles the class concept, is defined in rigorous and concise terms, and an efficient implementation is presented.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
KAEHLER, T., AND PATTERSON, D. A small taste of Smalltalk. BYTE(Aug. 1986), 145-160.
|
| |
4
|
MITCHELL, J. G., MAYBURY, W., AND SWEET, R. Mesa language manual. Xerox PARC, CSL- 79-3, Xerox, Inc., Palo Alto, Calif., 1979.
|
| |
5
|
REFERENCE MANUAL FOR THE ADA PROGRAMMING LANGUAGE. US Dept. of Defense, Washington, D.C., July 1980.
|
| |
6
|
|
| |
7
|
TESLER, L. Object Pascal report. Structured Language World 9, 3 (1986).
|
| |
8
|
|
|