Skip to content

Latest commit

 

History

History
119 lines (95 loc) · 897 Bytes

keywords.md

File metadata and controls

119 lines (95 loc) · 897 Bytes

keywords

Type system

  • type
  • struct
  • noalign
  • enum
  • mask
  • extends
  • implements
  • interface
  • is
  • any
  • self
  • typeof

primitives

  • i8
  • i16
  • i32
  • i64
  • u8
  • u16
  • u32
  • u64
  • f32
  • f64
  • float
  • int
  • size
  • bool
  • ptrdiff
  • address
  • void

declaration

  • var
  • const
  • global

functions

  • function
  • pure
  • operator
  • return
  • alias
  • get
  • set
  • autocast
  • defer
  • out
  • override
  • overwrite

templates

  • none

reserved

  • bigint
  • decimal
  • complex

Control flow

  • if
  • else
  • switch
  • case
  • fallthrough
  • goto
  • loop
  • foreach
  • for
  • do
  • while
  • continue
  • restart
  • break
  • in
  • default

error handling

  • try
  • catch
  • finally
  • throw

memory

  • clone
  • new
  • delete
  • at
  • lend
  • own
  • uninitialized
  • cast

preprocessor

  • empty

expressions

  • and
  • or
  • not