expr-eval
expr-eval copied to clipboard
Clean up toString output
expression.toString() wraps non-atomic expressions in parentheses even when they're not needed. That's useful for debugging, but looks cluttered. It should include parentheses only where necessary by default, and have an option (or separate method) to get the current behavior for debugging purposes.