mikedilger/solvent

Boolean logic support

Opened this issue · 0 comments

Add support for boolean logic, e.g.

depgraph.register_dependency("a","bc|~d");

Disjunctive normal form can be a requirement of the boolean statement, so that parenthesis handling is not necessary.

Handle OR by trying each branch. Handle NOT by verifying the node is not satisifed.