---------- Forwarded message ---------
From:
terence.patrick.kelly <terence.pa...@proton.me>Date: Tue, Oct 27, 2026 at 3:33 AM
Subject: compelling examples of read-eval-print loop for pm-gawk
To: Alan Karp <
alan...@gmail.com>
Hi Alan,
My "Drill Bits" column is moving from Queue to CACM. The first
installment in CACM will be about persistent-memory gawk (pm-gawk),
which uses my persistent memory library to enable AWK scripts to
"remember" data and user-defined functions from one run to the next.
After we implemented pm-gawk, the gawk maintainer (Robbins) and I
realized that we'd essentially given gawk the moral equivalent of
a "read-eval-print loop" (REPL), reminiscent of Python's REPL.
I'm looking for compelling examples to explain and motivate REPL,
examples that will resonate with huge numbers of average programmers
who might not yet be REPL enthusiasts. I'm wondering if you or one
of your functional programming friends have any great REPL examples
that I can use. The best example is one that relates to the core
strengths of AWK (text processing, quick & dirty one-liners, etc.).
Details about pm-gawk's REPL are in Section 3 of the user manual:
https://web.eecs.umich.edu/~tpkelly/pma/pm-gawk_2025.02feb.09.pdf
Thanks in advance for any tips you can provide!
-- Terence