github.com/mailgun/predicate (go): Predicate package used to create interpreted mini languages with Go syntax - mostly to define various predicates for configuration, e.g. Latency() > 40 || ErrorRate() > 0.5.  Here's an example of fully functional predicate language to deal with division remainders:
Keywords: go|golang|mini-language|predicate