An experiment in mixed compilation/interpretation


Autoria(s): Gough, John; Cifuentes, Christina; Corney, Diane; Hynd, John R.; Kolb, Peter
Data(s)

01/01/1992

Resumo

One of the classic forms of intermediate representation used for communication between compiler front-ends and back-ends are those based on abstract stack machines. It is possible to compile the stack machine instructions into machine code by means of an interpretive code generator, or to simulate the stack machine at runtime using an interpreter. This paper describes an approach intermediate between these two extremes. The front-end for a commercial Modula 2 compiler was ported to the "industry standard PC", and a partially compiling back-end written. The object code runs with the assistance of an interpreter, but may be linked with libraries which are fully compiled. The intent was to provide a programming environment on the PC which is identical to that of the same compilers on 32-bit UNIX machines. This objective has been met, and the compiler is available to educational institutions as free-ware. The design basis of the new compiler is described, and the performance critically evaluated.

Formato

application/pdf

Identificador

http://eprints.qut.edu.au/30156/

Relação

http://eprints.qut.edu.au/30156/1/c30156.pdf

Gough, John, Cifuentes, Christina, Corney, Diane, Hynd, John R., & Kolb, Peter (1992) An experiment in mixed compilation/interpretation. In 14th Australian Computer Science Conference, January 1992, Hobart, Tasmania.

Direitos

Copyright 1992 [please consult the authors]

Fonte

Faculty of Science and Technology

Palavras-Chave #080308 Programming Languages #compilers #interpretive code generation #abstract stack machines
Tipo

Conference Paper