• Stars
    star
    485
  • Rank 90,698 (Top 2 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 12 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A rule engine written in Ruby.

Wongi::Engine

Gem Build Status

This is a pure-Ruby forward-chaining rule engine based on the classic Rete algorithm.

Ruby >= 2.7 and JRuby are supported. Rubinius should work but isn't actively supported.

Documentation

There is no API documentation, as most of the library's interfaces are for internal use only and would not be safe to use directly.

Instead, follow the tutorial and stick to the constructs described in it.

Upgrading

Until there is a 1.0 release, all minor versions should be treated as potentially breaking.

Always test your rules extensively. There's always a chance of you finding a bug in the engine that is only triggered by a very specific rule configuration.

Feature annoucements

Open discussions

Acknowledgements

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