Abstract
This note describes a type concept for the basic data types handled in the applications of digital systems, numbers and bit fields, which are usually predefined in higher level languages and serve as the basis for application spe-cific data types and classes. It has been implemented in a real-time language for parallel embedded systems and is motivated by the fact that such systems may have to use a multitude of application-specific number types. The type concept actually applies to programming languages for all classes of applications. It pro-poses the use of an abstract data type of numbers for which the various enco-dings of numbers provide implementations. This simple approach not only allows non-standard encoding types to be added as needed but also provides common formats for input and output and derived numeric data types that aren’t bound to a specific encoding. Related to the handling of the basic data types is a conversion policy. For bit fields, conversions are substituted by word number changes of multi-word codes. Finally, the abstract number type can be used to simplify the related typing of functions that no longer need to specify the encoding of all their arguments and results.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Gruska, J.: Foundations of Computer Science. Thomson Computer Press (1997)
Sebesta, R.W.: Concepts of Programming Languages, Benjamin (1989)
Mayer-Lindenberg, F.: Dedicated Digital Processors. Wiley, Chichester (2004)
Ablamowicz, R., et al.: Lectures on Clifford Algebras. Birkhäuser-Verlag, Basel (2004)
Knuth, D.E.: The Art of Computer Programming. Addison-Wesley, Reading (1981)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Mayer-Lindenberg, F. (2005). A Management Scheme for the Basic Types in High Level Languages. In: Vojtáš, P., Bieliková, M., Charron-Bost, B., Sýkora, O. (eds) SOFSEM 2005: Theory and Practice of Computer Science. SOFSEM 2005. Lecture Notes in Computer Science, vol 3381. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30577-4_46
Download citation
DOI: https://doi.org/10.1007/978-3-540-30577-4_46
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-24302-1
Online ISBN: 978-3-540-30577-4
eBook Packages: Computer ScienceComputer Science (R0)