Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion ANN: Spoon
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fedor Indutny  
View profile  
 More options Oct 2 2012, 2:50 pm
From: Fedor Indutny <fe...@indutny.com>
Date: Tue, 2 Oct 2012 22:49:28 +0400
Local: Tues, Oct 2 2012 2:49 pm
Subject: Re: [nodejs] ANN: Spoon

No, we ain't using this at nodejitsu.

I'm coauthor of xjst module, which is compiling templates to a
highly-recursive javascript code. However some javascript VMs like
Spidermonkey doesn't support that recursion well, and here comes spoon! It
can translate any recursive calls into fake asynchronous ones. And then
using tricky dispatch function I can run those calls one-by-one without any
recursion at all:
https://github.com/veged/xjst/blob/master/lib/xjst/utils.js#L68

On Tue, Oct 2, 2012 at 10:43 PM, Ted Young <t...@radicaldesigns.org> wrote:
> Just wondering, what were your use cases when writing spoon? Was it to
> solve production problems you were facing? Are you using it at nodejitsu?

> Cheers,
>   Ted

> On Oct 1, 2012, at 11:28 PM, Fedor Indutny <fe...@indutny.com> wrote:

> "I'm just doing my job".

> On Tue, Oct 2, 2012 at 1:55 AM, Mark Hahn <m...@hahnca.com> wrote:

>> @Marcel just meant that you have started an infinite discussion thread.
>>  He wasn't insulting your module.

>> On Mon, Oct 1, 2012 at 2:42 PM, Marcel Laverdet <mar...@laverdet.com>wrote:

>>> You have no idea what you've done.

>>> On Mon, Oct 1, 2012 at 2:11 PM, Fedor Indutny <fe...@indutny.com> wrote:

>>>> Hey people,

>>>> Let me introduce you The Spoon: https://github.com/indutny/spoon

>>>> It's a JavaScript to CFG (Control-Flow Graph) transpiler and
>>>> additionally a CPS (Continuation Passing Style) transpiler too.

>>>> Basically, it lets you to rewrite code like this:

>>>> var data = 'prefix: ' + fs.read('file')

>>>>  To this:

>>>> var data;
>>>> fs.read('file', function(err, result) {
>>>>   data = 'prefix: ' + result;
>>>> });

>>>> Please check the readme, if you're interested.

>>>> Cheers,
>>>> Fedor.

>>>> --
>>>> 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 nodejs@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> nodejs+unsubscribe@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/nodejs?hl=en?hl=en

>>> --
>>> 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 nodejs@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> nodejs+unsubscribe@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en

>> --
>> 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 nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en

> --
> 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 nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

>  --
> 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 nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.