Status: New
Owner: ----

New issue 2355 by [email protected]: Implement `yield` for generators
http://code.google.com/p/v8/issues/detail?id=2355

Generators have been approved for ES.next: http://wiki.ecmascript.org/doku.php?id=harmony:generators

Firefox currently implements the `yield` keyword, but not the function*() {} syntax. I think v8 should do the same for now.

I searched everywhere and I can't find any existing bugs or plans for the `yield` keyword. This is a significant feature for javascript, one of the few that introduces a new semantic that is very difficult to simulate without native support.

This would have a big impact on node.js as well, allowing better style for async code.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to