aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/README.md18
-rw-r--r--lib/shell/README.md13
2 files changed, 31 insertions, 0 deletions
diff --git a/lib/README.md b/lib/README.md
new file mode 100644
index 00000000..9b73c798
--- /dev/null
+++ b/lib/README.md
@@ -0,0 +1,18 @@
+# Core Libraries
+
+This folder contains some libraries that are installed by default when
+installing Tomo.
+
+## Libraries
+
+Libraries can be installed with `tomo -IL ./library-folder`
+
+- [base64](base64/): A base64 encoding/decoding library.
+- [commands](commands/): A library for running commands.
+- [core](core/): Bundling up commonly used libraries into a single library.
+- [patterns](patterns/): Pattern matching for text.
+- [pthreads](pthreads/): A POSIX threads library.
+- [random](random/): Pseudorandom number generators.
+- [shell](shell/): A DSL for running shell commands.
+- [time](time/): A module for working with dates and times.
+- [uuid](uuid/): A universally unique identifier library.
diff --git a/lib/shell/README.md b/lib/shell/README.md
new file mode 100644
index 00000000..4adb8cff
--- /dev/null
+++ b/lib/shell/README.md
@@ -0,0 +1,13 @@
+# Shell
+
+This module defines a `lang` for running shell scripts:
+
+```tomo
+use shell
+
+>> $Shell"
+ seq 5
+ echo DONE
+":get_output()
+= "1$\n2$\n3$\n4$\n5$\nDONE"
+```