Alex, if --harmony-generators is supported, then gnode will spawn a node instance with that flag passed, rather than the regenerator transpiling. Regenerator is only used on <= v0.11.2, before that flag was implemented in V8.
(That implementation detail should be essentially transparent though). On Fri, Dec 13, 2013 at 6:25 AM, Alex Kocharin <[email protected]> wrote: > > I think that setting flags at runtime is still better than using > regenerator like gnode does (if you don't care about v0.10 of course). > > > 12.12.2013, 23:07, "Alessandro Artoni" <[email protected]>: > > Ok, that's definitely too evil :-) > On Dec 12, 2013 8:04 PM, "Timothy J Fontaine" <[email protected]> > wrote: > > though quite evil, it's also possible to turn features on at runtime > https://npmjs.org/package/setflags > > > On Thu, Dec 12, 2013 at 10:29 AM, Nathan Rajlich > <[email protected]>wrote: > > If you're only interested in the Generators aspect of ES6, then you can > use them today even with node v0.10 using gnode: > https://github.com/TooTallNate/gnode > > Cheers! > > > On Thursday, December 12, 2013 9:00:25 AM UTC-8, Alessandro Artoni wrote: > > Many thanks! > > > 2013/12/12 Gary Katsevman <[email protected]> > > Harmony features won't be on by default on node until they are on by > default in v8. You'll still be able to run node with `--harmony` to get > these features enabled. > > Gary Katsevman > gkatsev.com > > > On Thu, Dec 12, 2013 at 11:52 AM, Alessandro Artoni <[email protected]>wrote: > > Hi everybody! > I am, like a lot of you, by the new harmony features implemented in v8. > I'm starting a new project that would greatly benefits from them, > generators and yield in particular and it would be ok for me to support > only node >= .12 > Currently they are available through cli switch in node unstable > (0.11)...is there any chance they're going to be on by default when the > next stable is released? > > Cheers > > Alessandro > > (node rocks!) > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List- > Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > [email protected] > > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List- > Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > [email protected] > > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/nodejs/aXNCkBxGDYE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > Alessandro Artoni > > artoale.com > > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/aXNCkBxGDYE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
