Ruleby: The Rules Engine for Ruby
summary
Claims a pure Ruby Rete engine that compiles rules into a node network, shares nodes to avoid redundant checks, and stores partial matches to speed execution; rules live in a rulebook class and facts are ordinary objects that the engine handles via assert/retract facts. Demo runs (hello→goodbye chain) and the project is a gem on GitHub. Trade-offs: higher memory use and overhead for problems that must evaluate every rule against every fact.
AI-written summary · about
chapters (15)
- 0:00Start
- 5:20ased Programming
- 7:33is a Rule Engine?
- 9:42erence Engine
- 12:15Engine's Parts
- 13:21Ruleby Rule
- 15:14oring the rules
- 17:16odbye rule example
- 20:13Rete Algorithm
- 22:51rward Chaining
- 25:19antages of Rete
- 28:00Insurance Logic
- 29:20Rules from the Data
- 30:56les for Writing Rules
- 33:45of when not to use...








