The Implementation of Run-Time Diagnostics in Pascal
- 1 July 1980
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. SE-6 (4) , 313-319
- https://doi.org/10.1109/tse.1980.230482
Abstract
This paper considers the role of run-time diagnostic checking in enforcing the rules of the Pascal programming language. Run-time diagnostic checks must be both complete (covering all language requirements) and efficient. Further, such checks should be implemented so that the cost of enforcing the correct use of a given construct is borne by users of that construct. This paper descxibes simple and efficient mechanisms currently in use with a diagnostic Pascal compiler that monitor the run-time behavior of such sensitive Pascal constructs as pointers, variant records, reference (i.e., var) parameters, and with statements. The use of these mechanisms with related constructs in other languages is considered. Language modifications that simplify run-time checking ate also noted.Keywords
This publication has 8 references indexed in Scilit:
- Social processes and proofs of theorems and programsCommunications of the ACM, 1979
- Economic range checks in pascalSoftware: Practice and Experience, 1978
- Ambiguities and insecurities in pascalSoftware: Practice and Experience, 1977
- Efficient implementation and optimization of run-time checking in PASCALACM SIGPLAN Notices, 1977
- Report on the programming language EuclidACM SIGPLAN Notices, 1977
- An assessment of the programming language PASCALPublished by Association for Computing Machinery (ACM) ,1975
- Revised report on the algorithmic language ALGOL 68Acta Informatica, 1975
- More comments on the programming language PascalActa Informatica, 1975