[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

A facility for the downward extension of a high-level language

Published: 01 June 1982 Publication History

Abstract

This paper presents a method whereby a high-level language can be extended to provide access to all the capabilities of the underlying hardware and operating system of a machine. In essence, it is a facility that allows a user to make special purpose extensions to a language without requiring the compiler to be modified for each extension. Extensions are specified in an assembler-like language that is used at compile time to produce executable code to be combined with compiler-generated code. This facility has been implemented in a systems-programming language and was designed to provide access to facilities not directly available in the language. The way in which the facility was implemented calls for a minimum of user-visible language changes and is well suited for generating code sequences for any language. The facility provides the extension writer access to information available in the high-level language during compilation, permits the selective generation of user-defined code sequences depending on the context in which they are being used, provides for the integration of this code with compiler-generated code, and provides for the generation of user-understandable error messages when an extension is used incorrectly.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 17, Issue 6
Proceedings of the 1982 SIGPLAN symposium on Compiler construction
June 1982
347 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/872726
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGPLAN '82: Proceedings of the 1982 SIGPLAN symposium on Compiler construction
    June 1982
    357 pages
    ISBN:0897910745
    DOI:10.1145/800230

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 1982
Published in SIGPLAN Volume 17, Issue 6

Check for updates

Author Tags

  1. Assemblers
  2. Code generation
  3. Compilers
  4. Efficiency
  5. Encapsulation
  6. Extensibility
  7. High-level languages
  8. Inline code
  9. Machine code

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 288
    Total Downloads
  • Downloads (Last 12 months)71
  • Downloads (Last 6 weeks)12
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media