basistyps
Basistyps are a concept used in programming language theory to denote the primitive data types that form the foundational layer of a language’s type system. They are intended to be irreducible representations of data within that system, providing the basic meaning and operations that other types are built upon. The exact set of basistyps varies by language, but they typically include boolean values, integers, floating-point numbers, characters, and sometimes a unit type or a null/void type. In some languages, strings or arrays are defined in terms of basistyps and other composite types rather than being primitive.
As building blocks, basistyps underpin the construction of more complex types such as tuples, records, lists,
There is no universal agreement on the exact composition of basistyps, reflecting trade-offs between expressiveness, simplicity,
See also: Primitive type, Type system, Type inference, Data model.