skip to main content
article
Free Access

The type inference and coercion facilities in the scratchpad II interpreter

Authors Info & Claims
Published:01 July 1987Publication History
Skip Abstract Section

Abstract

The Scratchpad II system is an abstract datatype programming language, a compiler for the language, a library of packages of polymorphic functions and parametrized abstract datatypes, and an interpreter that provides sophisticated type inference and coercion facilities. Although originally designed for the implementation of symbolic mathematical algorithms, Scratchpad II is a general purpose programming language. This paper discusses aspects of the implementation of the interpreter and how it attempts to provide a user friendly and relatively weakly typed front end for the strongly typed programming language.

References

  1. [1] Jenks, R. D. and Trager, B. M., "A Language for Computational Algebra," Proceedings of SYMSAC '81, 1981 Symposium on Symbolic and Algebraic Manipulation, Snowbird, Utah, August, 1981. Also SIGPLAN Notices, New York: Association for Computing Machinery, November 1981, and IBM Research Report RC 8930 (Yorktown Heights, New York). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. [2] Liskov, B., Atkinson, R., et al. CLU Reference Manual, New York: Springer-Verlag, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. [3] Computer Algebra Group. An Overview of the Scratchpad II Language and System, Yorktown Heights, New York: IBM Corporation, April 1986.Google ScholarGoogle Scholar
  4. [4] Sweedler, Moss E., "Typing in Scratchpad II," The Scratchpad II Newsletter, Vol. 1, No. 2. Edited by R. S. Sutor, Yorktown Heights, New York: IBM Corporation, January 15, 1986.Google ScholarGoogle Scholar
  5. [5] Jenks, R. D., "A History of the SCRATCHPAD Project (1977-1986)," The Scratchpad II Newsletter, Vol. 1, No. 3, Edited by R. S. Sutor, Yorktown Heights, New York: IBM Corporation, May 15, 1986.Google ScholarGoogle Scholar
  6. [6] Schaffert, C., Cooper, T., et al. "An Introduction to Trellis/Owl," OOPSLA '86 Conference Proceedings, SIGPLAN Notices, Volume 21, Number 11, New York: Association for Computing Machinery, November 1986, pp. 9-16. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. [7] Jenks, R. D., Sutor, R. S., and Watt, S. M., "Scratchpad II: An Abstract Datatype System for Mathematical Computation," IBM Research Report RC 12327 (Yorktown Heights, New York: November 17, 1986).Google ScholarGoogle Scholar
  8. [8] Watt, S. M., and Jenks, R. D., "Abstract Datatypes, Multiple Views and Multiple Inheritance in Scratchpad II," The Scratchpad II Newsletter, Vol. 1, No. 4, Edited by R. S. Sutor, Yorktown Heights, New York: IBM Corporation, March 15, 1987.Google ScholarGoogle Scholar

Index Terms

  1. The type inference and coercion facilities in the scratchpad II interpreter

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              • Published in

                cover image ACM SIGPLAN Notices
                ACM SIGPLAN Notices  Volume 22, Issue 7
                July 1987
                291 pages
                ISSN:0362-1340
                EISSN:1558-1160
                DOI:10.1145/960114
                Issue’s Table of Contents
                • cover image ACM Conferences
                  SIGPLAN '87: Papers of the Symposium on Interpreters and interpretive techniques
                  July 1987
                  291 pages
                  ISBN:0897912357
                  DOI:10.1145/29650

                Copyright © 1987 ACM

                Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 1 July 1987

                Check for updates

                Qualifiers

                • article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader