Systematically derived instruction sets for high-level language support

  • Authors:
  • Pradip Bose;B. R. Rau;M. S. Schlansker

  • Affiliations:
  • University of Illinois, Urbana, Illinois;University of Illinois, Urbana, Illinois;University of Illinois, Urbana, Illinois

  • Venue:
  • ACM-SE 20 Proceedings of the 20th annual Southeast regional conference
  • Year:
  • 1982

Quantified Score

Hi-index 0.00

Visualization

Abstract

Conventional machine-languages (instruction sets) were not designed with high-level languages (HLLs) in mind. The resulting semantic gap is known to cause significant inefficiencies in program representation and execution time. Direct interpretation of HLLs is not the solution, because it is too complex and inefficient. The alternative is to precede the interpretation phase by a compilation phase in which the HLL is translated to a "suitable" intermediate representation which is directly interpretable. Such a directly interpretable language (DIL) can qualify as an instruction set for supporting the source HLL, since it is feasible to construct an interpreter for this language. In this paper, we present our approach to the problem of designing well-matched, space-time efficient DILs. The problem is approached by examining HLLs and DILs in a common interpretive environment.A systematic, top-down DIL design methodology is presented. A set of ten transformations on the source HLL grammar is used to derive the target DIL grammar. The DIL obtained in this manner is not unique, and its nature depends on the choices made along the way. The spectrum of DILs, exhibiting various space-time characteristics, is discussed. A number of space and time measures to evaluate DILs are suggested, and are used to compare four DILs derived from a formally specified HLL.