On 15.03.2016 17:22, Jesper Steen Møller wrote: [...]
So, is the “command” syntax a special pseudo-expression, and if so, where is it allowed? Only by itself (“statement”), and as the RHS og assignments and initializers?
we couldn't do more because otherwise the grammar was slapping us left and right in the face ;)
I’d like to know this as it could get real nasty, depending on the answer, since allowing it everywhere will introduce some ambiguities, which will require some tweaks to keep the “non-left-recursion refactored” grammar we have now.
essentially you gave the answer of why there are not more cases to allow this. The existing version already took us some effort to rule out the ambiguities
Also, great news: Daniel Sun has started contributing fixes, submitting PR’s against the fork at https://github.com/jespersm/groovy/tree/antlr4 - he’s quite productive, thanks! For coordination, I’ve started tracking some of the known “things to do” at https://github.com/jespersm/groovy/issues
always welcome and good idea! bye Jochen
