diff options
| author | Konstantin Kirik (snegovick) <snegovick@uprojects.org> | 2025-12-20 03:45:50 +0300 |
|---|---|---|
| committer | Konstantin Kirik (snegovick) <snegovick@uprojects.org> | 2025-12-20 03:45:50 +0300 |
| commit | 57804f9ee97e18d4ac51ffdcb2305327c8c35f10 (patch) | |
| tree | 4a276eef8e0ed085461ecdd016520585781f6723 /module/sh9util.m | |
| parent | 96fe523e673ed1d69ba5aee4fbec40e113a6264e (diff) | |
Add command and pipeline definitions
Diffstat (limited to 'module/sh9util.m')
| -rw-r--r-- | module/sh9util.m | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/module/sh9util.m b/module/sh9util.m index bcf940a..9d53da9 100644 --- a/module/sh9util.m +++ b/module/sh9util.m @@ -3,6 +3,21 @@ Sh9Util: module PATH: con "/dis/lib/sh9util.dis"; DESCR: con "Utility functions for sh9"; +Command: adt +{ + args: list of string; + inf, outf: string; + append: int; +}; + +Async, Seq: con iota; + +Pipeline: adt +{ + cmds: list of ref Command; + term: int; +}; + reverse_list: fn[T](toks: list of T): list of T; to_array: fn[T](toks: list of T): array of T; }; |
