Removing the space in `a+ +b`?

Claude Pache claude.pache at
Fri Jun 28 16:13:48 UTC 2019

> Le 28 juin 2019 à 17:41, Isiah Meadows <isiahmeadows at> a écrit :
> Currently, the production `a+ +b` requires a space to disambiguate it from the increment operator. However, `a++b` is not itself valid, as the postfix increment cannot be immediately followed by a bare identifier on the same line, nor can a prefix operator be preceded by one on the same line. Could the grammar be amended to include this production and make it evaluate equivalently to `a+ +b`
> AdditionExpression :: AdditionExpression `++` [no LineTerminator here] UnaryExpression
> -- 
> -----
> Isiah Meadows
> contact at <mailto:contact at>
> <>_______________________________________________
> es-discuss mailing list
> es-discuss at

What is the motivation (apart obfuscation contests, as in: `a++++b`)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list