Partial computation as a practical aid in the compiler construction course

  • Authors:
  • Frank G. Pagan

  • Affiliations:
  • Department of Computer Science, California State University, Fullerton, CA

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

A brief account of the concept of partial computation is given in the context of the Pascal language. The manual conversion of programs into generating extensions is explained using examples of gradually increasing complexity. This culminates in a readily applicable but too-little known technique of converting interpreters into compilers without dealing directly with machine language. Students taking courses in language processing should be taught this technique and perhaps also the general principles underlying it. A simple example of the application of the technique is presented.