Re: Peano Arithmetic

2008-08-15 Thread Brendan Eich
On Aug 14, 2008, at 10:22 PM, Michael Haufe wrote: function add2(x,y){ if(!x){ return y; } else{ return add2(x--,y++); //recursion error }; }

Re: Peano Arithmetic

2008-08-15 Thread Jason Orendorff
On Fri, Aug 15, 2008 at 12:22 AM, Michael Haufe [EMAIL PROTECTED] wrote: I apologize if this issue was discussed already, I've been unable to find an answer after a few hours of digging and Googling. I was watching some old SICP videos and translating some of the code into JavaScript to see

Re: ECMAScript Harmony

2008-08-15 Thread Garrett Smith
On Wed, Aug 13, 2008 at 2:26 PM, Brendan Eich [EMAIL PROTECTED] wrote: It's no secret that the JavaScript standards body, Ecma's Technical Committee 39, has been split for over a year, with some members favoring ES4, a major fourth edition to ECMA-262, and others advocating ES3.1 based on the

Re: ECMAScript Harmony

2008-08-15 Thread Peter Michaux
On Fri, Aug 15, 2008 at 1:40 PM, Garrett Smith [EMAIL PROTECTED] wrote: [snip] There remain challenges, in particular getting off of the untestable and increasingly unwieldy ES1-3.x spec formalism. Unit tests: * help developer understanding * provide examples for discussion * provide