The core package contains all the keywords values and conditionals needed for general programming, and to build most command-line tools these are all that will be needed.
There are three primary components to the language:
- Keywords
- Values
- Conditions
The core keywords are:
add append assert begin clear close create debug decrement delete divide exit file fork get go gosub if import increment index init input load lock module multiply negate open pop post print push put read replace return run save script set split stack stop system take toggle truncate unlock variable wait while write
The core values are:
arg args cos count datime/datetime decode element elements empty encode error files float from hash index integer json keys left length lowercase mem/memory modification message newline now position property random right sin stringify tab tan timestamp today trim type uppercase value weekday
The core conditions are:
boolean empty ends even exists greater has property includes is less list numeric none not object odd starts string