Keywords

Grid has a limited set of keywords which perform specific behaviors in different scopes.

KeywordScopeBehavior
modulemoduleDefines the current module namespace
importmoduleImports other module namespaces into the current module
returnfunctionReturns from the current function, with optional value
yieldstateful functionReturns from the current function retaining execution state, with optional value
continueloopContinues the loop immediately
breakloopBreaks the loop immediately, with optional value