Skip to content

Keywords and Operators

Michael Kutowski edited this page Aug 22, 2021 · 16 revisions

Keywords

package import foreign
when if do else for defer return switch case in not_in do break continue fallthrough
or_else or_return proc struct union enum bit_field bit_set map dynamic
cast auto_cast transmute
using
context
size_of align_of offset_of type_of

distinct opaque

Reserved keywords

macro const

Operators

= ! ^ ? :
+ - * / % %% & | ~ &~ << >>
&& ||
+= -= *= /= %= %%= &= |= ~= &~= <<= >>=
&&= ||=
-> <- ---
== != < > <= >=
( ) [ ] { }
: .. ..<
# @ $
; . ,

Reserved Operator

=>

Clone this wiki locally