Glu Language Keywords
The following list contains keywords that are reserved for current or future use by the Glu language.
as
- perform primitive casting, disambiguate the specific trait containing an item, or rename items in import statementsbreak
- exit a loopcontinue
- continue to the next loop iterationelse
- alternative forif
control flow constructsenum
- define an enumerationfalse
- Boolean false literalfor
- iterate over items from an iteratorfunc
- define a functionif
- branching based on the outcome of a conditional expressionimport
- allow to use a specific libraryin
- used in thefor
loop syntaxlet
- define a constantoperator
- define or redefine an operatoror
- syntax sugar for||
and
- syntax sugar for&&
return
- return from a functionstruct
- define a data structuretrue
- Boolean true literaltypealias
- define a type aliasvar
- define a variablewhile
- conditional loop based on the outcome of an expression
This post is licensed under
CC BY 4.0
by the author.