Sent from my MacBook Wheel
Begin forwarded message: > From: Jan Lahoda <jan.lah...@oracle.com> > Date: May 27, 2019 at 6:18:41 PM GMT+2 > To: Amber Expert Group Observers <amber-spec-observ...@openjdk.java.net>, > Doug Lea <d...@cs.oswego.edu>, Brian Goetz <brian.go...@oracle.com> > Subject: Re: Yield as contextual keyword > >> On 27. 05. 19 16:06, Doug Lea wrote: >> I don't enjoy being the token curmudgeon here, but I find it >> increasingly hard to appreciate why a non-ambiguous choice (prefix "^") >> with precedence in related languages should be rejected in favor of one >> requiring context-sensitive grammar mangling with some known odd >> consequences. At the very least, could someone help check as-yet-unknown >> impact by using candidate parsers on large source corpuses (for example >> http://groups.inf.ed.ac.uk/cup/javaGithub/, google-internal, etc)? > > So, I've run the current parser over a corpus that we sometimes use - there > do not appear a conflicting use of yield there. There is a handful of uses of > yield as a variable; some invocations of Thread.yield; and (the included > version of) JRuby appears to define and invoke methods called "yield", but > the invocations appear to be in an expression context. > > Jan > >> -Doug