Hacker News new | ask | show | jobs
by stevekemp 2022 days ago
I've never used this particular library, but I did put together my own simple evaluation engine and have found it very useful for a range of purposes.

Initially it was designed to process incoming slack messages, and sometimes trigger a notification to an on-call engineer, but over time I've found uses for it processing email, scripting simple actions on my desktop, and more.

https://github.com/skx/evalfilter/

These kind of things are pretty simple to write, but sometimes I almost think it is a shame there isn't something more standard. (Lua was kinda winning for that embedded-logic role for a long time, but nowadays we still have the mixture of YAML, HCL, and other niche-specific language/filtering and I imagine the time has passed to pick one standard.)