loading...
Well-Measuring Programs
Sydney, Australia April 18-April 21
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ASWEC.2006.56Australian Software Engineering Confe ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Phil Cook, University of Queensland, Australia
Colin Fidge, Queensland University of Technology, Australia

Any program that measures quantities from its physical environment must compute using correct and consistent units of measurement. Such a program is described here as well-measuring. In many systems, particularly embedded control software, paying inadequate attention to units of measurement can result in catastrophe. Unfortunately, current programming languages and tools provide little aid to the programmer attempting to establish or verify the wellmeasuring property.

We present a program analysis technique for inferring and checking the units used within a program. The technique combines traditional Hindley-Milner-style type inference with the use of Static Single Assignment (SSA) form to enable analysis of imperative programs.

Citation:
Phil Cook, Colin Fidge, "Well-Measuring Programs," aswec, pp.253-261, Australian Software Engineering Conference (ASWEC'06), 2006
Usage of this product signifies your acceptance of the Terms of Use.