The Computer Journal · 1983 · 37 citations · 2 references
ComputingComputer ScienceCompilersFormal MethodsProgramming LanguagesCompiler ConstructionControl-flow AnalysisProgramming Language ImplementationSyntax AnalysisType CheckingType SystemsDynamic Type CheckingRuntime Type CheckingStatic Type CheckingType Analysis
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.
2
Programming with abstract data types
Barbara Liskov, Stephen N. Zilles · 1974 · 736 citations · Full text
Units of measure as a data attribute
Narain Gehani · Computer Languages · 1977 · 48 citations