summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/sh9util.m15
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;
};