-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax #12
Comments
Good point. It would have to be await (yield f()) |
In the implementation in Traceur, I have added a parser rule for await yield without parens. I think this grammar change should be added to this or @lukehoban's proposal because |
@mnieper What is the grammar rule you are proposing? |
I don't speak Ecma, but I wouldn't it suffice to say
? |
@mnieper Trying to clean up our parser a bit and the await yield 42 in obj |
Yes, this makes perfect sense. |
In the async generator examples, a syntax like
is used. However, this does not seem to be parseable by the ES6 grammar and https://github.com/lukehoban/ecmascript-asyncawait.
await
expects an UnaryExpression, whileyield
produces an AssignmentExpression.The text was updated successfully, but these errors were encountered: