Open BSalita opened 1 year ago
This requires some state in serialization and to me is something that is not worth our efforts as the extra parentheses are not wrong. If anybody feels this should be addressed, feel free to open a PR.
Thanks. Exactly.
Problem description
Expression stringizer is blindly nesting sub-expressions in parenthesis. Parenthesis should only be added if the sub-expression contains a priority dependent operator.