DocumentCode :
751368
Title :
The Implementation of Run-Time Diagnostics in Pascal
Author :
Fischer, Charles N. ; LeBlanc, Richard J.
Author_Institution :
Department of Computer Science, University of Wisconsin
Issue :
4
fYear :
1980
fDate :
7/1/1980 12:00:00 AM
Firstpage :
313
Lastpage :
319
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 :
Diagnostic compiler; Pascal; pointer checking; reference parameter checking; run-time checking; variant record checking; Computer languages; Condition monitoring; Costs; Degradation; Helium; Program processors; Protection; Reactive power; Runtime; Testing; Diagnostic compiler; Pascal; pointer checking; reference parameter checking; run-time checking; variant record checking;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/TSE.1980.230482
Filename :
1702738
Link To Document :
بازگشت