Type system

From OXPL Wiki
Revision as of 17:18, 20 January 2021 by Viktor (talk | contribs) (Add basic composite types)
Jump to navigation Jump to search

The type system of OXPL will be static and strong.

Primitive types

The primitive types are the most basic ones.

  • integer
    • signed
      • int8
      • int16
      • int32
      • int64
      • int128
    • unsigned
      • uint8
      • uint16
      • uint32
      • uint64
      • uint128
  • float
    • float32
    • float64
  • character: char
  • boolean: bool

Composite types

  • array: arr
  • string: str