diff --git a/home-environments/radio/files/.local/bin/prettify-sexp b/home-environments/radio/files/.local/bin/prettify-sexp new file mode 100755 index 0000000..e970094 --- /dev/null +++ b/home-environments/radio/files/.local/bin/prettify-sexp @@ -0,0 +1,10 @@ +#!/usr/bin/env -S guile +!# + +(use-modules (ice-9 pretty-print) + (ice-9 match)) + +(pretty-print + (match (command-line) + [(_) (read)] + [(_ str) (with-input-from-string str read)]))