https://bz.apache.org/bugzilla/show_bug.cgi?id=69338

--- Comment #4 from Christopher Schultz <[email protected]> ---
I'd be interested in how you solved this particular problem, Mark.

Having written a DSL for $work using AntLR, we have this "problem" as well,
where a string of the same binary operators end up being nested inside one
another. For performance-critical uses, we have e.g. a "sum" function that can
be used for 1+2+3+4+5 and both "and" and "or" functions for the obvious boolean
combinations. That seemed easier than trying to tweak the parser to convert
1+2+3+4+5 into sum(1,2,3,4,5) instead of 1+(2+(3+(4+5))).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to