A rule engine written in Ruby.
Ruby
Latest commit a345b22 Jun 9, 2016 @ulfurinn v0.2.9

README.md

Wongi::Engine

Join the chat at https://gitter.im/ulfurinn/wongi-engine

Build Status (MRI 1.9.3 to 2.3, Rubinius, JRuby)

Feature annoucements

Open discussions

Tutorial

This library contains a rule engine written in Ruby. It's based on the Rete algorithm and uses a DSL to express rules in a readable way.

Word of caution: this is complex and fragile machinery, and there may be subtle bugs that are only revealed with nontrivial usage. Be conservative with upgrades, test your rules extensively, and please report any behaviour that is not consistent with your expectations.

Acknowledgements

The Rete implementation in this library largely follows the outline presented in [Doorenbos, 1995].

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request