Difference between revisions of "Type system"

From OXPL Wiki
Jump to navigation Jump to search
(Created page with "The '''type system''' of OXPL will be static and strong.")
 
(Add primitive types)
Line 1: Line 1:
 
The '''type system''' of OXPL will be static and strong.
 
The '''type system''' of OXPL will be static and strong.
 +
 +
== Primitive types ==
 +
The primitive types are the most basic ones.
 +
 +
* integer
 +
** signed
 +
*** <tt>int8</tt>
 +
*** <tt>int16</tt>
 +
*** <tt>int32</tt>
 +
*** <tt>int64</tt>
 +
*** <tt>int128</tt>
 +
** unsigned
 +
*** <tt>uint8</tt>
 +
*** <tt>uint16</tt>
 +
*** <tt>uint32</tt>
 +
*** <tt>uint64</tt>
 +
*** <tt>uint128</tt>
 +
* float
 +
** <tt>float32</tt>
 +
** <tt>float64</tt>
 +
* character: <tt>char</tt>
 +
* boolean: <tt>bool</tt>

Revision as of 17:09, 20 January 2021

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