Results 1 -
3 of
3
The DCode Intermediate Program Representation Reference Manual and Report
, 1995
"... This document describes the intermediate program representation DCode. The representation is an ASCII format which specifies instructions for an abstract stack machine. Interpretive code generators may process this file to produce object code for various target machines. The semantics of each instr ..."
Abstract
-
Cited by 6 (3 self)
- Add to MetaCart
This document describes the intermediate program representation DCode. The representation is an ASCII format which specifies instructions for an abstract stack machine. Interpretive code generators may process this file to produce object code for various target machines. The semantics of each instruction in the code is explained, and the various directives detailed. This document is intended to serve as a guide for those wishing to create new code generator backends for the existing compilers, and for those wishing to create frontends for a new language for the existing code generators. The first part of the report is a concise reference manual for the language, while the second part is a detailed description of the way in which the language is used in typical cases. The second part describes the way in which the form is used in typical cases, and contains a number of examples. The DCode Report, revision 2.1 1 Copyright This report is copyright c fl 1993--1994, Faculty of Informati...
Debugging optimised code using function interpretation
- In Automated and Algorithmic Debugging
, 1997
"... Previously the debugging of optimised code has not been possible without recompiling the executable code and preventing the use of code optimisation techniques. Although current research efforts offer partial solutions to a small set of optimisation techniques, no unified approach has been developed ..."
Abstract
-
Cited by 3 (0 self)
- Add to MetaCart
Previously the debugging of optimised code has not been possible without recompiling the executable code and preventing the use of code optimisation techniques. Although current research efforts offer partial solutions to a small set of optimisation techniques, no unified approach has been developed to overcome the barriers imposed by a large range of sophisticated optimisation techniques. The approach taken in the building of the prototype described throughout this paper combines program simulation and interpretation techniques with run-time executable modification techniques to provide an integrated environment for function-level interpretation. This has been achieved without the modification of an existing compiler and also without the enhancement of the compiler-debugger interface (CDI), thereby allowing direct application of the debugger in current operational environments. This paper describes the construction of gpdb, a debugger for the Gardens Point compiler environment. This debugger has proved to be fundamental for the production of an interactive development environment which allows an optimised program to be run, corrected, modified, and even further developed without the need for the recompilation of the executable program, or the resetting of the debugging environment. 1.
The DCode Intermediate Representation: Reference Manual and Report
"... This document describes the intermediate program representation DCode. The representation is an ASCII format which specifies instructions for an abstract stack machine. Interpretive code generators may process this file to produce object code for various target machines. The semantics of each in ..."
Abstract
- Add to MetaCart
This document describes the intermediate program representation DCode. The representation is an ASCII format which specifies instructions for an abstract stack machine. Interpretive code generators may process this file to produce object code for various target machines. The semantics of each instruction in the code is explained, and the various directives detailed. This document is intended to serve as a guide for those wishing to create new code generator backends for the existing compilers, and for those wishing to create frontends for a new language for the existing code generators. The first part of the report is a reference manual for the language. The second part describes the way in which the form is used in typical cases, and contains a number of examples. 1 The original version of this report was extracted from the report on the compiler frontend gp2d (see reference 6). This report is maintained in electronic form on ftp server ftp.fit.qut.edu.au (Internet 131.181.2.16) 2 http://www.dstc.qut.edu.au/gough Abstract Copyright This report is copyright c fl 1993--1997, Faculty of Information Technology, Queensland University of Technology. Permission is hereby given to copy, print or otherwise reproduce copies of this report for teaching or other purposes, provided that this copyright notice remains unchanged as an integral part of the document. Revision History Version 1.0, March 1993 The original document was extracted from the report on the portable Modula-2 frontend gp2d. Some additional information was added regarding the hints required by the existing backends. The remaining references to gp2d in this document may be taken as examples of typical practice by conforming frontends rather than as a statement of how things must be done. Versi...

