Skip to content

Keywords

For reference, here are all the keywords categorized by type.

General keywords

class if else self
for while switch case
default def const break
continue pass type extern
operator fallthrough defer

Constant keywords

true false inf

Operator keywords

xor and or not
in is as

Type keywords

int int8 int16 int32
int64 int128 uint uint8
uint16 uint32 uint64 uint128
double float str bool
func list tuple void