Here is the short story.
I hate regex/posix search, it is cryptic. I am writing some code to search source code in real time.
1) I'm using what basically looks like natural language ...
2) Find: red -black +blue -"const blue"
3) I then compile the expression to bytes, the type of compare is an enum (compare_equals = 1, compare_equals_caseless = 2, compare_starts_with, compare_partial, ...)
Parenthesis?
4) john and (fred or bob)
How can I evaluate parenthesis without recursion? My goal is for the byte code to be reversible back into text.