aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-05-21 12:24:04 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-05-21 13:19:49 +0200
commite1ec59043ebb32e1e5f0c5821f3ecb33e4b0ced0 (patch)
tree4e4619130157beb66b580d6fc77725dcf653090c
parent8487afe7ef5cfae88f2e8c2800d1907d51bb46da (diff)
downloadell-e1ec59043ebb32e1e5f0c5821f3ecb33e4b0ced0.tar.gz
ell-e1ec59043ebb32e1e5f0c5821f3ecb33e4b0ced0.tar.xz
ell-e1ec59043ebb32e1e5f0c5821f3ecb33e4b0ced0.zip
Update README
-rw-r--r--README.adoc27
1 files changed, 25 insertions, 2 deletions
diff --git a/README.adoc b/README.adoc
index 7bbb17b..cfb1329 100644
--- a/README.adoc
+++ b/README.adoc
@@ -72,6 +72,9 @@ from the outer scope.
Standard library
----------------
+The standard library interprets the empty list and the empty string as false
+values, everything else is taken as true.
+
`set <name> [<value>]`
Retrieves or sets a named variable.
@@ -88,6 +91,10 @@ Conditional evaluation, strings evaluate to themselves.
Run the body for each element.
+`break`
+
+Abort the running loop.
+
`map <list> <body>`
Transform each element with the given function.
@@ -98,11 +105,27 @@ Return a new list consisting of matching elements only.
`.. [<string>]...`
-Concatenates strings.
+Concatenate strings.
`print [<item>]...`
-Prints all items in sequence--strings directly, lists as source code.
+Print all items in sequence--strings directly, lists as source code.
+
+`system <command>`
+
+Run a system command and return its return value.
+
+`+`, `-`, `*`, `/`
+
+Arithmetic operations on floating point numbers.
+
+`=`, `<>`, `<`, `>`, `<=`, `>=`
+
+Arithmetic comparisons on floating point numbers.
+
+`eq?`, `ne?`, `lt?`, `gt?`, `le?`, `ge?`
+
+Simple string comparisons.
Contributing and Support
------------------------