Boolean Expression Interpreter

Yeah, you would have to use parenthesis no matter what. The tree would actually be what real recursion would do.

I’m not sure how you would write a recursive algorithm to replace the tree, at best maybe you could make one to build it. From what I know about programming languages, the tree building is the approach most of them take, so I think it’s the best solution here.