Skip to content

update or make an alternate version for the ES6 generators API #28

Open

Description

@dherman

The ES6 generators and iterators API is a little different from the one initially implemented in Firefox, which dates back to an earlier design. Update task.js to work with the new API, which can now be tested in the latest build of V8:

http://wingolog.org/archives/2013/05/08/generators-in-v8

We should hopefully start implementing the new generators API soon in SpiderMonkey as well, so that the new version of task.js can then be used.

Activity

  1. wingo commented on May 8, 2013

    @wingo

    Note that it's fairly easy to support both APIs at once, as a stopgap measure.

  2. arv commented on May 11, 2013

    @arv

    It should also be pretty straight forward to wrap a SpiderMonkey generator in an object that exposes the ES6 API.

  3. hurrymaplelad commented on Aug 17, 2013

    @hurrymaplelad

    Thanks @Benvie, let me experiment in node. Anyone working on supporting both APIs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions