in reply to Evaluate arbitrary boolean expressions
Do you want to do algebraic symbolic reduction of the terms or do you just want to evaluate it?
One approach would be to evaluate every atomic expression left-to-right until you have no more operators, and then using De Morgan's laws to resolve parentheses.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Evaluate arbitrary boolean expressions
by gauss76 (Scribe) on Mar 13, 2018 at 10:44 UTC | |
by Corion (Patriarch) on Mar 13, 2018 at 11:42 UTC |