Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
https://github.com/racket/zuo/blob/main/local/tree.zuo is a pretty good example.
It’s nothing like Bash; it’s a Lisp dialect.
The obvious comparison is Lua, which is generally the standard embedded language people use when a scripting language needs to be tiny. I compared its size; Zuo is 55% the size of Lua, so apples to apples, Zua is only a little over half the size of Lua. On the other hand, Lua uses a Pascal like syntax which is a good deal more Bash like than Zuo.
If I want to write scripts in lisp (and I do!) I use babashka. https://babashka.org/.
If I'm working on one project for some time I'll write a throwaway bb.edn with tasks for things I need to do often, for example to monitor a kubernetes pod, log it, and hit certain API endpoints. Then when I'm in the project directory I can just run `bb tsj` (e.g. test sign job).