Snitch is the first DSL I’ve written in Hy. It may be the first Hy DSL ever, but I have nothing to prove that.
Since I’ve had a bit of time while the hard-working Alioth maintainers hack on getting vasks alive, I wrote Snitch (and set up the Debian view to be shown on fraked.debian.net
- more to come!)
's DSL looks like:
(rule "pault.ag" pingable httpable)
(rule "lucifer.pault.ag" pingable httpable))
Which expands out to quite a few lines that query the server’s status using Snitch’s informants, and insert the result into MongoDB.
More to come!