From 98a70af838d5f97291c2bae78b62c78560d728c4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 7 Apr 2025 18:33:48 -0400 Subject: Add readmes --- lib/README.md | 18 ++++++++++++++++++ lib/shell/README.md | 13 +++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 lib/README.md create mode 100644 lib/shell/README.md (limited to 'lib') 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" +``` -- cgit v1.2.3