eo
eo copied to clipboard
catch redundant brackets
I suggest we create a new XSL checker for eo-parser, which will prohibit the usage of redundant brackets, for example, this code should not parse:
[] > foo
(1.add (a.add 5) (4)) > x
This one should be expected instead:
[] > foo
1.add (a.add 5) 4 > x
@andreoss what do you think?
@yegor256 Please, assign to me.
Are you positive that it should be XSL?
It seems that it would be easier to count and discard extra parenthesis in XeListener
.
@andreoss I'm not sure about XSL. I actually don't know how this can be implemented at all :) You go ahead.
@volodya-lombrozo try this one please
@yegor256 the puzzle #1490 is still not solved.
@yegor256 the only puzzle #1490 is solved here.