ela
Contents

ManualLanguage

Keywords

In the terminalela --spec keywords

Every word the language keeps for itself, with the section that says what it does. ela --spec and the word itself prints that section: ela --spec with, ela --spec catch. The names a script declares follow one style, Naming style (ela --spec naming-style).

KeywordSectionela --spec
aliasSHELL.md, Aliasesaliases
and, or, notArithmeticarithmetic
break, continueControl flowcontrol-flow
caseswitchswitch
catchcatchcatch
deferdeferdefer
donenot ela's: end, Statements and blocks; no name eitherstatements-and-blocks
elseControl flowcontrol-flow
endStatements and blocksstatements-and-blocks
enum, structStructs and enumsstructs-and-enums
execProcess controlprocess-control
exitProcsprocs
failfailfail
exportnot ela's: env.NAME = value, The environmentthe-environment
for, inControl flowcontrol-flow
ifControl flowcontrol-flow
importFiles and importsfiles-and-imports
killkillkill
nullnullnull
printnot ela's: echo, Commandscommands
proc, returnProcsprocs
runProcess controlprocess-control
spawnnot ela's: run, Process controlprocess-control
spinProgress and spinnersprogress-and-spinners
switchswitchswitch
true, falseTypestypes
tryError handlingerror-handling
waitwaitwait
whenLists from forlists-from-for
whileControl flowcontrol-flow
withwithwith