diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-07 18:33:48 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-07 18:33:48 -0400 |
| commit | 98a70af838d5f97291c2bae78b62c78560d728c4 (patch) | |
| tree | a710f71e41550eb23b82029e4fb0bb6f1e5e54ea /lib | |
| parent | fac503b82fe21ce69673f886b0b450c8343a50eb (diff) | |
Add readmes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/README.md | 18 | ||||
| -rw-r--r-- | lib/shell/README.md | 13 |
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" +``` |
