Back to results

University of Alabama Birmingham

An Intermediate Code for Interpretation and Code Generation in ADA.

Abstract

dc:description.abstract

An intermediate language for compilers, called CL-code, is presented which allows the combined advantages of direct interpretation and usage as an intermediate form in machine code generation. CL-code is an intermediate code defined to execute on a virtual stack machine and is machine— independent. Its design permits implementation by more than a single method - CL-code may be interpreted by simulating the virtual machine with software, or CL-code may be translated into the machine code of an actual machine.Independence from the method of implementation derives from two sources. The most important is that CL-code may be generated during the syntax analysis phase of the compiler without prior allocation of storage. Storage allocation is performed only as part of the interpreter or as part of the code generator. The second source of the flexibility of CL-code is the high-level nature of its statements which permits most details of addressing and computations to be abstracted to allow more general types of intermediate code instructions to be generated.Another novel feature of CL-code is that it may be used in the translation of concurrent programming languages, in particular, Ada. CL-code contains instructions which define the creation and control of independent processes that can subsequently communicate with each other. A partial implementation of CL-code by both interpretation and code generation in a single compiler is described.

Degree

thesis:*
Level thesis:degree_level
Thesis
Year
1984

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hull, Lee Simpson

Subjects

dc:subject × 5

Identifiers

dc:identifier.*
OAI identifier oai:identifier
oai:digitalcommons.library.uab.edu:etd-collection-8090

Chain of custody

source
Harvested from
University of Alabama Birmingham
Base URL
digitalcommons.library.uab.edu/do/oai/
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Hull, Lee Simpson. An Intermediate Code for Interpretation and Code Generation in ADA.. Thesis thesis, 1984. https://digitalcommons.library.uab.edu/etd-collection/7098