Prig: like AWK, but uses Go for “scripting”
The article describes Prig, my AWK-like tool that uses Go as the scripting language. I compare Prig with AWK, then dive into how Prig works, and finally look briefly at Prig’s Sort and SortMap builtins (which use Go’s new generics if Go 1.18 is available).
Source: Prig: like AWK, but uses Go for "scripting", an article by Ben Hoyt.