6 ms·
First off, thank you for the well thought out response. I was far too vague with my question. I did not mean a general purpose rules engine as in the middlewar
by bpyne 15y ago
First off, thank you for the well thought out response.
I was far too vague with my question. I did not mean a general purpose rules engine as in the middleware piece. What I'm thinking about is better described as a rules based system, but far more complex than anything I've written in the past. Just to add complexity, a few domain experts will have the ability to modify and implement rules.
My inclination is towards a language with a small syntactic footprint and not a lot of tribute towards system stuff like memory management. So I was leaning towards Clojure but JS is a great thought. Other languages I wondered about were Prolog and Scala.
I'm doing it as a learning exercise, an attempt at keeping my skills from rusting, and because my day job is boring. If it can be monetized, that's a bonus.
- dromey 15y agoProlog and other logic programming languages are natural rule languages. You will want to consider the semantics that the rules are given as well as how negation in the language is treated. It's also good to know the (worst-case) complexity of the problems you are trying to solve and to match them appropriately to expressive power of the rule language you propose to use.