PHYSCAL(ID:2863/phy001)


Pascal with physical units


Related languages
Pascal (Jensen and Wirth) => PHYSCAL   Extension of

References:
  • Dreiheller, A., M. Moerschbacher, et al. "PHYSCAL: Programming Pascal with physical units." pp114-123 view details Abstract: Maenner proposes an extension of Pascal permitting the use of physical units in programs. We discuss his issues in this paper and describe our own somewhat different approach. Our language extension PHYSCAL of Pascal not merely satisfies the requirements suggested by Maenner, but also supports predefined units (International Standard), thorough realisation of the concept of scale factors, input/output facilities for numbers with units. The new concepts are motivated, and the language description is given formally and by examples. Finally we discuss some details of the realised language implementation by a PHYSCAL-to-Pascal preprocessor in an UNIX environment.
          in SIGPLAN Notices 21(12) December 1986 view details