From e1ec59043ebb32e1e5f0c5821f3ecb33e4b0ced0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 21 May 2017 12:24:04 +0200 Subject: Update README --- README.adoc | 27 +++++++++++++++++++++++++-- 1 file 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 []` 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 ` Transform each element with the given function. @@ -98,11 +105,27 @@ Return a new list consisting of matching elements only. `.. []...` -Concatenates strings. +Concatenate strings. `print []...` -Prints all items in sequence--strings directly, lists as source code. +Print all items in sequence--strings directly, lists as source code. + +`system ` + +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 ------------------------ -- cgit v1.2.3