META-3 syntax-directed compiler writing compiler to generate efficient code

  • Authors:
  • Frederick W. Schneider;Glen D. Johnson

  • Affiliations:
  • -;-

  • Venue:
  • ACM '64 Proceedings of the 1964 19th ACM national conference
  • Year:
  • 1964

Quantified Score

Hi-index 0.02

Visualization

Abstract

The basic compilation method is a top to bottom recursive scan without backtrack based on the compiler written for the IBM 1401 by Val Schorre. Each statement of the language is written in a form closely resembling Backus Normal Form; that is, a sequence of tests to be performed to determine whether or not the sequence of characters in the input string is a valid program in the language described. In addition output instructions are interspersed with the syntactic elements to generate the desired code. The following features were added to the language to facilitate the direct generation of efficient machine code: A symbol table A push-down operand stack Mode flags and a register manipulation generator A push-down first-in first-out list Direct communication in a simplified manner between the compiler and hand coded routines. A complete description of both the META-3 compiler and of the compilation algorithm are given.