Compiler writing in FORTRAN on a small computer

  • Authors:
  • Susan T. Dean;Steven E. Wixson

  • Affiliations:
  • University of Alabama in Birmingham;University of Alabama in Birmingham

  • Venue:
  • ACM-SE 15 Proceedings of the 15th annual Southeast regional conference
  • Year:
  • 1977

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper shares the experience gained in writing a compiler using FORTRAN on a relatively small computer. Technical details of the programs which make up the compiler are given, rather than a general discussion of practices of compiler writing. Practical suggestions to someone who might undertake a similar project are emphasized. The language for which this compiler was developed is oriented toward interactive data entry from specialized terminals. An overview of this language is provided to demonstrate the types of statements the compiler must handle. The compiler is a set of overlay programs ("links") which were originally required to fit into an 8K word (16 bit) batch partition. The organization of these processing segments, and the communication of information between them, are explained in detail. Key support subroutines are described. The compiler's output is a set of dynamically relocatable coded instructions and operand references which are stored on disk for later execution by an interpreter.