Skip to content

Keywords

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

General keywords

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

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