skip to main content
article
Free Access

METAPI - a language for extensions

Published:01 September 1971Publication History
Skip Abstract Section

Abstract

The METAPI system [1,2] can be considered to be a combination of a translator writing system and an extensible language system. The history and usage of the system should make clear how it functions in both roles.

METAPI grew from the need for a language in which a version of Fortran especially suited for interactive use could be implemented. Originally METAPI consisted of a translator writing system based on the Schorre [3] META II system. It was enhanced during implementation of PIFOR*, our Fortran language. It turned out that METAPI could be incorporated on an equal footing with PIFOR in the interactive system. Thus METAPI became a language for extensions since it was dynamically available. A user of the PI system, which incorporates METAPI and PIFOR can extend his language by writing statements in METAPI and can create any new statement type he wants. It is arbitrary whether these new statement types are considered to be a Fortran type or a METAPI type since in the PI system both languages are so closely intertwined.

The PI implementations are examples of the usual applications of a translator writing system. A simple example of an extension would be a shift operator which can be added to PIFOR with a single short line of METAPI code.

References

  1. 1 O'Neil, Jr., J. T., "METAPI—An On-Line Interactive Compiler-Compiler", Proceedings of the Fall Joint Computer Conference, 1968.Google ScholarGoogle Scholar
  2. 2 O'Neil, Jr., J. T., "An Interactive Language Design System", Thesis, University of Pennsylvania, 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3 Schorre, D. V., "META-II, A Syntax Oriented Compiler Writing Language", Proceedings of the 19th ACM National Conference, p. D1.3. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Irons, E. T., "Experience with an Extensible Language", Comm. ACM, 13, 1, Jan. 1970, pp. 31-40. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. METAPI - a language for extensions

      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 6, Issue 12
        Proceedings of the international symposium on Extensible languages
        December 1971
        147 pages
        ISSN:0362-1340
        EISSN:1558-1160
        DOI:10.1145/942582
        Issue’s Table of Contents
        • cover image ACM Conferences
          Proceedings of the international symposium on Extensible languages
          September 1971
          147 pages
          ISBN:9781450373722
          DOI:10.1145/800006

        Copyright © 1971 Author

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 September 1971

        Check for updates

        Qualifiers

        • article
      • Article Metrics

        • Downloads (Last 12 months)20
        • Downloads (Last 6 weeks)1

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader