Primitive Types

Syntax

<primitive-type> ::= <nothing-type>
                   | <bool-type>
                   | <u8-type>
                   | <u16-type>
                   | <u32-type>
                   | <u64-type>
                   | <usize-type>
                   | <i8-type>
                   | <i16-type>
                   | <i32-type>
                   | <i64-type>
                   | <isize-type>

Semantics

  • Their definitions are in the compiler.
  • They are owned by the core project.