do | execute a command or quote |
push | move an item into a quote |
version | print the version of the interpreter |
status | status |
deq | remove an item from the first position of a quote |
% | modulo two numeric values |
chars | chars |
pipe-thru-args | pipe-thru-args |
dup | duplicate the top value |
* | multiply two numeric values |
swap | swap the top two values |
get-args | get command-line args |
len | the length of a quote or string |
gte? | consume two numbers and return true if the most recent is greater |
readf | read a file as a string |
join | consume a quote of strings and a delimiter, and produce a string with the delimiter interspersed |
quote | quote a value |
to-float | coerce value to floating-point number |
run-args | run-args |
doin | execute a command or quote in a previous quote |
even? | even? |
neq? | neq? |
divisor? | divisor? |
first | first |
parse-csv | parse-csv |
.s | print the stack |
drop | drop the top value |
+ | add two numeric values |
to-bool | coerce value to boolean |
assert-true | assert-true |
pl | pl |
println | println |
def! | define a new command |
map | apply a command to all values in a quote |
upcase | convert a string to uppercase |
undef? | undef? |
each | each |
lte? | consume two numbers and return true if the most recent is less |
last | last |
-> | -> |
cwd | current working directory |
writef | write a string as a file |
def? | return true if a name is defined |
to-quote | coerce value to quote |
while | while |
abs | consume a number and produce its absolute value |
defs | produce a quote of all definition names |
not | consume a booleans and produce its logical not |
rot | rotate the top three values |
interactive? | determine if the input mode is interactive (a TTY) or not |
do! | execute a command or quote |
concat | concatenate two quotes. Values are coerced into quotes. (For String concatenation, see join) |
unwords | unwords |
to-string | coerce value to string |
nand | nand |
main-repl | main-repl |
quote-all | quote all current context |
print-version | print-version |
words | words |
--version | --version |
downcase | convert a string to lowercase |
ls | list contents of current directory |
or | consume two booleans and produce their logical or |
unlines | unlines |
exit | exit with the specified exit code |
pwd | pwd |
cd | change directory |
def | def |
eval | eval |
eq? | consume two values and return true if they are equal |
any? | return true if any value in a quote passes a predicate |
unquote | unquote |
gt? | consume two numbers and return true if the most recent is greater |
pls | pls |
: | bind variables |
lt? | consume two numbers and return true if the most recent is less |
ends-with? | consume a string and a suffix, and return true if the string has the suffix |
exec | execute a child process. When successful, returns stdout as a string. When unsuccessful, prints the child's stderr to stderr, and returns boolean false |
to-cmd | coerce value to a deferred command |
starts-with? | consume a string and a prefix, and return true if the string has the prefix |
pop | move the last item of a quote to top of stack |
odd? | odd? |
print | print |
split | consume a string and a delimiter, and produce a quote of the string split on all occurrences of the substring |
rev | reverse a quote or string |
times | times |
get-line | get a line from standard input (until newline) |
handle-flags | handle-flags |
.q | quit, printing a warning if there are any values left on stack |
to-int | coerce value to integer |
quit | quit |
handle-flag | handle-flag |
/ | divide two numeric values |
lines | lines |
- | subtract two numeric values |
contains? | consume a string and a substring, and return true if the string contains the substring |
... | expand a quote |
print-help | print-help |
usage | print the usage notes of a given command |
and | consume two booleans and produce their logical and |
? | consumes a command/quote and a value and performs it if the value is truthy |
nor | nor |
filter | only keep values in that pass a predicate in a quote |
--help | --help |
repl | repl |
p | print a value |
nl | print a newline |
enq | move an item into the first position of a quote |
dip | dip |
get-lines | get lines from standard input (until EOF) |