[whatwg] Fake Code

Ian Hickson ian at hixie.ch
Wed Jul 30 02:43:49 PDT 2008

On Wed, 30 Jul 2008, Kristof Zelechovski wrote:
> And this particular example should be recursive.  Unfolding inherently 
> recursive procedures with an explicit stack, perhaps to construct an 
> enumerator or to simulate a coroutine, is a technical detail that does 
> not belong here.

The point of the exercise is to show that it is possible to implement this 
easily without recursion. The example was added in response to implementor 
feedback requesting it.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list