summaryrefslogtreecommitdiffstats
path: root/autoload.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-04-04 19:48:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2024-04-04 19:48:34 -0700
commit9e42e3c971c2c1c69d2e03752735bbbd24007b6b (patch)
tree7c5cfb7bce92ce9e4c807127a41f7031ac75ad4d /autoload.c
parentd01e894af245c7f8df9b193b482150a1b9725f1c (diff)
downloadtxr-9e42e3c971c2c1c69d2e03752735bbbd24007b6b.tar.gz
txr-9e42e3c971c2c1c69d2e03752735bbbd24007b6b.tar.bz2
txr-9e42e3c971c2c1c69d2e03752735bbbd24007b6b.zip
New functions for filtering through external processes.
* stdlib/getput.tl (sys:maproc-common): new function. (map-command-lines, map-command-str, map-command-buf, map-process-lines, map-process-str, map-process-buf): New functions. * autoload.c (getput_set_entries): Trigger autoload of getput module on new function symbols. * tests/018/getput.tl: New tests. * txr.1: Documented.
Diffstat (limited to 'autoload.c')
-rw-r--r--autoload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload.c b/autoload.c
index 512369f2..f9e50a2c 100644
--- a/autoload.c
+++ b/autoload.c
@@ -477,6 +477,8 @@ static val getput_set_entries(val fun)
lit("command-get-buf"), lit("command-put-buf"),
lit("command-get-json"), lit("command-put-json"),
lit("command-get-jsons"), lit("command-put-jsons"),
+ lit("map-command-lines"), lit("map-process-lines"), lit("map-command-str"),
+ lit("map-process-str"), lit("map-command-buf"), lit("map-process-buf"),
lit("close-lazy-streams"),
nil
};