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

--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to