ooroo 0.1.0

A fast, compiled rule engine with a text-based DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Ooroo example ruleset
#
# Demonstrates a deny-before-allow pattern where banned users
# are rejected before eligibility checks run.

rule eligible_age:
    user.age >= 18

rule active_account:
    user.status == "active"

rule can_proceed (priority 10):
    eligible_age AND active_account

rule banned (priority 0):
    user.banned == true