How about this (example used is "(A AND B) OR (C OR D NOT E) OR Q"):
{ OR <-- { AND <-- { A , B } , OR <-- { C , D , NOT <-- { E } } } , OR <-- { Q } }
Well, that is what currently comes to mind, bugs expected.
Updated (Jun 24 2003) the parsed expressions as after adding "OR Q" in the example, forgot to correctly update the hierarchy.
In reply to Re: converting a boolean syntax
by parv
in thread converting a boolean syntax
by glwtta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |