Abstract
This paper proposes a method for incorporation of the scientific notion of a system of measurement units into programming languages. A method proposed in a previous paper on this topic is first discussed and found to be seriously flawed. We find also that the earlier method must rely on run-time checking in order to allow certain desirable language features, whereas the method proposed here is completely implemented at compile-time, and permits improved program self-documentation, and is clearly more compatible with the spirit of Pascal, the language chosen for this exposition. Further, the actions expected of the compiler are very modest indeed, and a suggested implementation method is given. © 1983 The British Computer Society.
Cite
CITATION STYLE
House, R. T. (1983). A proposal for an extended form of type checking of expressions. Computer Journal, 26(4), 366–374. https://doi.org/10.1093/comjnl/26.4.366
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.